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

chore: handle some unhandled errors #303

Merged
merged 1 commit into from
Apr 19, 2024
Merged

chore: handle some unhandled errors #303

merged 1 commit into from
Apr 19, 2024

Conversation

blgm
Copy link
Member

@blgm blgm commented Apr 19, 2024

Some unhandled errors are now handled. Arguably this is not necessary as they are "impossible" errors that cannot occur and are untestable. But code can change over time, and if those errors ever become possible, then it will be better to fail fast rather than to ignore the error.

@cf-gitbot
Copy link
Member

We have created an issue in Pivotal Tracker to manage this:

https://www.pivotaltracker.com/story/show/187463239

The labels on this github issue will be updated when the story is started.

Some unhandled errors are now handled. Arguably this is not necessary
as they are "impossible" errors that cannot occur and are untestable.
But code can change over time, and if those errors ever become possible,
then it will be better to fail fast rather than to ignore the error.
@blgm blgm merged commit ef330be into main Apr 19, 2024
4 checks passed
@blgm blgm deleted the catcherrors branch April 19, 2024 15:57
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