forked from CGM_Public/pretix_original
Improve logging on general Ajax-errors
This commit is contained in:
committed by
GitHub
parent
abbf7bdd69
commit
2f19b48f97
@@ -105,7 +105,7 @@ $(document).ajaxError(function (event, jqXHR, settings, thrownError) {
|
||||
} else if (c.length > 0) {
|
||||
ajaxErrDialog.show(c.first().html());
|
||||
} else if (thrownError !== "abort" && thrownError !== "") {
|
||||
console.log(thrownError);
|
||||
console.error(event, jqXHR, settings, thrownError);
|
||||
alert(gettext('Unknown error.'));
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user