Skip to content

Commit

Permalink
[Fix] Error handel when AWS credential is invalid
Browse files Browse the repository at this point in the history
Signed-off-by: Kent Huang <[email protected]>
  • Loading branch information
kentwelcome committed Nov 25, 2021
1 parent 053ba6f commit c701471
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/electron/ServerHandlers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ getAwsCredential()
const aws = AwsAdapter.getInstance();
return aws.verifyAccessPermission();
})
.then((data) => console.log(data));
.then(data => console.log(data))
.catch(err => console.log(err));

export function generateDockerfile(options) {
let base_image_url = options['base_image_url'];
Expand Down

0 comments on commit c701471

Please sign in to comment.