Throw error when upload failes

pull/208/head
Tobias Reich 10 years ago
parent 24fc218437
commit 1554340841

@ -135,6 +135,9 @@ upload = {
.html("Server returned the status code " + xhr.status)
.show();
// Throw error
lychee.error("Upload failed. Server returned the status code " + xhr.status + "!", xhr, xhr.responseText);
}
// Check if there are file which are not finished

Loading…
Cancel
Save