Skip to content

[BUGFIX] Handle rebuild failures without exiting#10013

Merged
kellyselden merged 2 commits intoember-cli:lts-3-28from
kellyselden:handle-build-failures
Oct 4, 2022
Merged

[BUGFIX] Handle rebuild failures without exiting#10013
kellyselden merged 2 commits intoember-cli:lts-3-28from
kellyselden:handle-build-failures

Conversation

@kellyselden
Copy link
Copy Markdown
Member

Cherry picking #9987 into lts-3-28.

@bertdeblock
Copy link
Copy Markdown
Member

@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 force-pushed the handle-build-failures branch from 81d7320 to 241e1a8 Compare October 4, 2022 02:47
@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.

3 participants