This reverts commit 228180b1ef.
This commit is contained in:
committed by
GitHub
parent
228180b1ef
commit
adf879e8b2
@@ -22,7 +22,7 @@
|
||||
// if response includes an error message it will take precedence
|
||||
if (serverResponse && serverResponse.error_msg) {
|
||||
Annotator.showNotification(serverResponse.error_msg, Annotator.Notification.ERROR);
|
||||
return console.error(`${Annotator._t('API request failed:')} '${xhr.status}'`);
|
||||
return console.error(Annotator._t('API request failed:') + (" '" + xhr.status + "'"));
|
||||
}
|
||||
|
||||
// Delegate to original error handler
|
||||
|
||||
Reference in New Issue
Block a user