rethrown errors to make erro available in dropzone callback

This commit is contained in:
Abhinav-grd 2021-02-02 18:12:11 +05:30
parent 187d781726
commit 724b83e8ad

View file

@ -141,6 +141,7 @@ class UploadService {
} catch (e) {
console.log(e);
throw e;
}
}
private async uploadHelper(progressBarProps, rawFile, collection, token) {
@ -160,6 +161,7 @@ class UploadService {
}
catch (e) {
console.log(e);
throw e;
}
}
@ -246,6 +248,7 @@ class UploadService {
};
} catch (e) {
console.log("error uploading to bucket " + e);
throw e;
}
}