Improved error output
This commit is contained in:
parent
e9f1c21406
commit
24fc218437
@ -354,9 +354,12 @@ var lychee = {
|
|||||||
|
|
||||||
error: function(errorThrown, params, data) {
|
error: function(errorThrown, params, data) {
|
||||||
|
|
||||||
console.log("Error Description: " + errorThrown);
|
console.error({
|
||||||
console.log("Error Params: " + params);
|
description: errorThrown,
|
||||||
console.log("Server Response: " + data);
|
params: params,
|
||||||
|
response: data
|
||||||
|
});
|
||||||
|
|
||||||
loadingBar.show("error", errorThrown);
|
loadingBar.show("error", errorThrown);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user