Improved error output

This commit is contained in:
Tobias Reich 2014-08-16 20:18:24 +02:00
parent e9f1c21406
commit 24fc218437

View File

@ -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);
} }