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

feat: better error handling & reporting #111

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

heyhippari
Copy link
Owner

This is a big catch-all PR for all the error reporting and handling work that's ongoing.

Goals are:

  • Avoid try...catch for expected errors
  • Build better error boundaries
  • Integrate error handling all through the layers. An error in the infrastructure layer should bubble up to the UI when appropriate, and be handled gracefully
  • Rely on toasts to provide error/success feedback to the user when performing an action
  • Catch things with Sentry when we're not throwing them back to error boundaries

Copy link

vercel bot commented Nov 11, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
kanojo ❌ Failed (Inspect) Nov 11, 2024 1:38pm

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.

1 participant