diff --git a/src/lib/Uploader.ts b/src/lib/Uploader.ts index 7de38b3..ad58047 100644 --- a/src/lib/Uploader.ts +++ b/src/lib/Uploader.ts @@ -173,6 +173,7 @@ export default class Uploader { } catch (err) { // tslint:disable-next-line no-console console.error('err:', err); + throw err; } } return params.Key;