Replaced labels with icons in the SR and Action badges
This commit is contained in:
@@ -25,7 +25,10 @@ function createHttpBackgroundJson({
|
||||
appendBackgroundDebugEntry(debugRequests, debugEntry);
|
||||
|
||||
if (!response.ok) {
|
||||
throw new Error(`${requestName} failed with status ${response.status}.`);
|
||||
const error = new Error(`${requestName} failed with status ${response.status}.`);
|
||||
error.httpStatus = response.status;
|
||||
debugEntry.error = error.message;
|
||||
throw error;
|
||||
}
|
||||
|
||||
if (responsePayload.error) {
|
||||
|
||||
Reference in New Issue
Block a user