Throw error when upload failes
This commit is contained in:
parent
24fc218437
commit
1554340841
@ -135,6 +135,9 @@ upload = {
|
|||||||
.html("Server returned the status code " + xhr.status)
|
.html("Server returned the status code " + xhr.status)
|
||||||
.show();
|
.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
|
// Check if there are file which are not finished
|
||||||
|
Loading…
Reference in New Issue
Block a user