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

Render error boundary within Minimap #35

Merged
merged 2 commits into from
Oct 16, 2024
Merged

Conversation

katamartin
Copy link
Member

@katamartin katamartin commented Oct 16, 2024

More general alternative to #34

As currently implemented, this approach suppresses all errors by default, which is not appropriate in all situations, especially development. I could imagine inverting the showErrorTrace to show the error trace in all cases unless a specific override is provided.

@katamartin katamartin requested a review from Shane98c October 16, 2024 21:39
Copy link
Member

@Shane98c Shane98c left a comment

Choose a reason for hiding this comment

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

I think this is a good pattern that might save us in the future too! I'm still getting errors printed out in dev so feels good there too!

@katamartin katamartin merged commit 5214f6d into main Oct 16, 2024
1 check passed
@katamartin katamartin deleted the katamartin/error-boundary branch October 16, 2024 23:37
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