Skip to content

fix: handle promise rejection happening with cli-executor#1269

Merged
ematipico merged 3 commits intowebpack:nextfrom
jamesgeorge007:hotfix/handle-promise-rejection
Feb 28, 2020
Merged

fix: handle promise rejection happening with cli-executor#1269
ematipico merged 3 commits intowebpack:nextfrom
jamesgeorge007:hotfix/handle-promise-rejection

Conversation

@jamesgeorge007
Copy link
Copy Markdown
Member

What kind of change does this PR introduce?
bugfix

Did you add tests for your changes?
Nope

If relevant, did you update the documentation?
N/A

Summary
closes #1268

Does this PR introduce a breaking change?
Nope

Other information
N/A

@webpack-bot
Copy link
Copy Markdown

Thank you for your pull request! The most important CI builds succeeded, we’ll review the pull request soon.

godcrampy
godcrampy previously approved these changes Feb 26, 2020
Copy link
Copy Markdown
Contributor

@godcrampy godcrampy left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Copy Markdown
Contributor

@ematipico ematipico left a comment

Choose a reason for hiding this comment

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

Maybe we can have a more friendly error message

@jamesgeorge007
Copy link
Copy Markdown
Member Author

Maybe we can have a more friendly error message

@ematipico got any suggestions?

@ematipico
Copy link
Copy Markdown
Contributor

I don't at the moment. But you can come up with a better wording :)

Co-Authored-By: Anshuman Verma <anshu.av97@gmail.com>
@webpack-bot
Copy link
Copy Markdown

@jamesgeorge007 Thanks for your update.

I labeled the Pull Request so reviewers will review it again.

@ematipico Please review the new changes.

@ematipico ematipico merged commit afe97f6 into webpack:next Feb 28, 2020
@jamesgeorge007 jamesgeorge007 deleted the hotfix/handle-promise-rejection branch February 28, 2020 11:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Handle the promise rejection if an interrupt occurs in the regular workflow of cli-executor

6 participants