diff --git a/assets/js/upload.js b/assets/js/upload.js index 94d7c13..70a5e6c 100755 --- a/assets/js/upload.js +++ b/assets/js/upload.js @@ -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