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