rethrown errors to make erro available in dropzone callback
This commit is contained in:
parent
187d781726
commit
724b83e8ad
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue