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