1
0
mirror of https://git.teknik.io/Teknikode/Teknik.git synced 2023-08-02 14:16:22 +02:00

Fixed upload js not building correctly.

This commit is contained in:
Uncled1023 2018-06-20 23:43:08 -07:00
parent 175eaa4762
commit 7fda3e3269

View File

@ -433,8 +433,8 @@ function uploadComplete(fileID, key, encrypt, token, evt) {
setProgress(fileID, 100, 'progress-bar-danger', '', errorMessage);
}
}
catch {
setProgress(fileID, 100, 'progress-bar-danger', '', 'Unable to Upload File');
catch(err) {
setProgress(fileID, 100, 'progress-bar-danger', '', 'Unable to Upload File: ' + parseErrorMessage(err));
}
}