mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-24 13:49:56 +09:00
Improve debugging
This commit is contained in:
parent
13b14dc7f5
commit
d69007e200
2 changed files with 27 additions and 19 deletions
|
|
@ -118,7 +118,7 @@
|
|||
},
|
||||
chunkfail: function(e, data) {
|
||||
if (chunkStatus) {
|
||||
alert(window.xe.msg_file_upload_error + " (Type 3)" + "\n" + data.errorThrown + "\n" + data.textStatus);
|
||||
alert(window.xe.msg_file_upload_error + " (Type 3)" + "<br>\n" + data.errorThrown + "<br>\n" + data.textStatus);
|
||||
return chunkStatus = false;
|
||||
}
|
||||
},
|
||||
|
|
@ -133,7 +133,7 @@
|
|||
result = jQuery.parseJSON(result);
|
||||
}
|
||||
if (!result) {
|
||||
alert(window.xe.msg_file_upload_error + " (Type 5)");
|
||||
alert(window.xe.msg_file_upload_error + " (Type 5)" + "<br>\n" + res.response().result);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
@ -148,13 +148,13 @@
|
|||
alert(result.message);
|
||||
return false;
|
||||
} else {
|
||||
alert(window.xe.msg_file_upload_error + " (Type 6)");
|
||||
alert(window.xe.msg_file_upload_error + " (Type 6)" + "<br>\n" + res.response().result);
|
||||
return false;
|
||||
}
|
||||
},
|
||||
fail: function(e, data) {
|
||||
if (chunkStatus) {
|
||||
alert(window.xe.msg_file_upload_error + " (Type 7)" + "\n" + data.errorThrown + "\n" + data.textStatus);
|
||||
alert(window.xe.msg_file_upload_error + " (Type 7)" + "<br>\n" + data.errorThrown + "<br>\n" + data.textStatus);
|
||||
return false;
|
||||
}
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue