Skip to content

Re-Added Unhandled Exception Handling - #1005

Merged
aomarks merged 5 commits into
google:mainfrom
ObliviousHarmony:fix/unhandled-exception-handling
Jan 10, 2024
Merged

Re-Added Unhandled Exception Handling#1005
aomarks merged 5 commits into
google:mainfrom
ObliviousHarmony:fix/unhandled-exception-handling

Conversation

@ObliviousHarmony

Copy link
Copy Markdown
Contributor

In #471 the handling of unhandled exceptions was removed. This adds that missing handling back so that any exceptions that aren't caught can be gracefully handled and raised to the user correctly.

In #471 the handling
of unhandled exceptions was removed. This adds
back the missing handling so that we can gracefully
deal with internal exceptions thrown during execution.
@ObliviousHarmony

Copy link
Copy Markdown
Contributor Author

I noticed this while working on #991 @aomarks. Had this been in place it would have identified this as a problem in wireit immediately and made it a bit easier to diagnose.

@aomarks aomarks left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Looks good! Mind just adding a changelog entry for this?

@aomarks

aomarks commented Jan 9, 2024

Copy link
Copy Markdown
Member

Also needs an npm run format

@aomarks
aomarks enabled auto-merge (squash) January 10, 2024 00:14
@aomarks

aomarks commented Jan 10, 2024

Copy link
Copy Markdown
Member

Looks good! Mind just adding a changelog entry for this?
Also needs an npm run format

I added these, merging 👍

@ObliviousHarmony

Copy link
Copy Markdown
Contributor Author

Thanks @aomarks, I missed the changelog and am too used to the Prettier ESLint plugin 😄 Odd looking test failure though.

@aomarks
aomarks merged commit 4f78f17 into google:main Jan 10, 2024
@ObliviousHarmony
ObliviousHarmony deleted the fix/unhandled-exception-handling branch January 10, 2024 19:43
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