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

[base] Don't catch errors without an Error instance #1339

Merged
merged 1 commit into from
May 28, 2019

Conversation

rexxars
Copy link
Member

@rexxars rexxars commented May 28, 2019

Certain events (ResizeObserver max loop threshold, for instance) only gives a message when they are triggered, not an Error instance. These events are usually not fatal, so rendering a fullscreen error for them is the wrong behavior.

With this PR, we choose to ignore these events.

@rexxars rexxars requested a review from skogsmaskin May 28, 2019 10:00
Copy link
Member

@bjoerge bjoerge left a comment

Choose a reason for hiding this comment

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

👍

@rexxars rexxars merged commit 4a4115f into next May 28, 2019
@rexxars rexxars deleted the error-handler-supress-non-errs branch May 28, 2019 13:29
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.

None yet

2 participants