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

sentry: Ignore TransitionAborted errors #2871

Merged
merged 1 commit into from
Oct 4, 2020

Conversation

Turbo87
Copy link
Member

@Turbo87 Turbo87 commented Oct 4, 2020

According to emberjs/ember.js#18416 it looks like changing query params that have refreshModel: true causes an internal TransitionAborted error. This error is being ignored by Ember itself (see https://github.com/emberjs/ember.js/blob/v3.21.3/packages/@ember/-internals/runtime/lib/ext/rsvp.js#L40-L42), but Sentry also hooks into RSVP.on('error') and unfortunately reports these false positives (see emberjs/ember.js#12505)

This PR actively ignores TransitionAborted errors in the beforeSend() hook of Sentry.

r? @jtgeibel

@jtgeibel
Copy link
Member

jtgeibel commented Oct 4, 2020

@bors r+

@bors
Copy link
Contributor

bors commented Oct 4, 2020

📌 Commit e665842 has been approved by jtgeibel

@bors
Copy link
Contributor

bors commented Oct 4, 2020

⌛ Testing commit e665842 with merge 0df70a5...

@bors
Copy link
Contributor

bors commented Oct 4, 2020

☀️ Test successful - checks-travis
Approved by: jtgeibel
Pushing 0df70a5 to master...

@bors bors merged commit 0df70a5 into rust-lang:master Oct 4, 2020
@Turbo87 Turbo87 deleted the transition-abort branch October 4, 2020 21:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants