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

fix: better development ergonomics #294

Merged
merged 1 commit into from
May 14, 2021
Merged

Conversation

cyx
Copy link
Contributor

@cyx cyx commented May 14, 2021

When we're developing, we woudn't want to swallow panics since that can
cause a lot of surprises.

For non-development cases, since we're reporting this, then swallowing
the panic and displaying a basic error message would be enough for the
user to know that something went wrong happened.

Screen Shot 2021-05-14 at 4 13 20 PM

When we're developing, we woudn't want to swallow panics since that can
cause a lot of surprises.

For non-development cases, since we're reporting this, then swallowing
the panic and displaying a basic error message would be enough for the
user to know that something went wrong happened.
@cyx cyx force-pushed the fix-better-development-ergonomics branch from e09c599 to 62c7934 Compare May 14, 2021 23:21
Copy link
Contributor

@Widcket Widcket left a comment

Choose a reason for hiding this comment

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

Good idea, thanks!

@Widcket Widcket merged commit 7d7b32e into main May 14, 2021
@Widcket Widcket deleted the fix-better-development-ergonomics branch May 14, 2021 23:26
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