Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: output deploy error if error not string #258

Merged
merged 1 commit into from
Jul 17, 2020
Merged

Conversation

kakhaUrigashvili
Copy link
Contributor

Steps to reproduce

  1. update ~/.aws/credentials and put invalid aws_secret_access_key
  2. ask deploy with lambda deployer

the deploy will hang on creating IAM role step

This PR make sure the error gets propagates and fail the command.

@@ -58,7 +58,7 @@ class ListrReactiveTask {
subscriber.next(status);
});
this._eventEmitter.on('error', (error) => {
if (error && typeof error === 'string') {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not sure what was the reason for this, but all errors that are not string would hang the deploy.

@RonWang RonWang merged commit 62c059c into develop Jul 17, 2020
@RonWang RonWang deleted the fix-error-message branch July 17, 2020 05:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants