You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have an exception being reported from a Flutter app in my Sentry dashboard (see image below). It's something that is non critical, and I'm unable to reproduce it in dev, but it's causing my quota to be obliterated. I'd therefore like to use beforeSend to block this exception from hitting Sentry servers.
However I'm unsure what properties of SentryEvent to use to do this filtering. I've come up with 3 possibilities:
search message for the text "range_slider.dart", line 1552, in _RenderRangeSlider.assembleSemanticsNode
search exceptions to see if any contain a string value containing text "range_slider.dart", line 1552, in _RenderRangeSlider.assembleSemanticsNode
search exceptions.frames to see if any have fileName of range_slider.dart and lineNo 1552
See example below. Can anyone suggest which of these 3 would be best, or suggest a better way to do this? Unfortunately because I can't reproduce the error in dev I can't really test this out.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I have an exception being reported from a Flutter app in my Sentry dashboard (see image below). It's something that is non critical, and I'm unable to reproduce it in dev, but it's causing my quota to be obliterated. I'd therefore like to use
beforeSendto block this exception from hitting Sentry servers.However I'm unsure what properties of
SentryEventto use to do this filtering. I've come up with 3 possibilities:messagefor the text"range_slider.dart", line 1552, in _RenderRangeSlider.assembleSemanticsNodeexceptionsto see if any contain a stringvaluecontaining text"range_slider.dart", line 1552, in _RenderRangeSlider.assembleSemanticsNodeexceptions.framesto see if any havefileNameofrange_slider.dartandlineNo1552See example below. Can anyone suggest which of these 3 would be best, or suggest a better way to do this? Unfortunately because I can't reproduce the error in dev I can't really test this out.
Beta Was this translation helpful? Give feedback.
All reactions