Skip to content

Commit

Permalink
throw error if uploadFile failed
Browse files Browse the repository at this point in the history
  • Loading branch information
josteph committed Nov 5, 2021
1 parent 5ab61d4 commit 04a232b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib/Uploader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 04a232b

Please sign in to comment.