Skip to content

Commit

Permalink
Merge pull request #28 from josteph/master
Browse files Browse the repository at this point in the history
throw error if uploadFile failed
  • Loading branch information
ThaNarie authored Jul 5, 2022
2 parents 5ab61d4 + 04a232b commit 2f0b17e
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 2f0b17e

Please sign in to comment.