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

[BUGFIX] Handle rebuild failures without exiting #10013

Merged
merged 2 commits into from
Oct 4, 2022

Conversation

kellyselden
Copy link
Member

Cherry picking #9987 into lts-3-28.

@bertdeblock
Copy link

@kellyselden I think we need to cherry pick #9914 as well if we want CI to pass.

When a rebuild fails, mark it as a builder failure so the watcher doesn't re-throw it, causing it to be an unhandled error that results in the process exiting.

Fixes ember-cli#9584
If the most recent build failed and an HTTP request came in, the history middleware would throw an uncaught exception causing the process to exit. Instead, catch and ignore.
@kellyselden kellyselden merged commit a9e3e2c into ember-cli:lts-3-28 Oct 4, 2022
@kellyselden kellyselden deleted the handle-build-failures branch October 4, 2022 17:20
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.

None yet

3 participants