Replies: 1 comment 3 replies
-
@AbhiPrasad resolved with no comment? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I'm trying to understand the purpose of the default integration TryCatch. The docs indicate the wrappers installed by this integration are required to capture errors of asynchronous events, but I'm looking for a little more context as to what is actually gained or lost with this integration enabled or disabled.
From my own testing, I couldn't see much difference with
setTimeout
related exceptions with this integration turned off as the window.onerror mechanism still works fine. The only thing I noticed is that the mechanism goes frominstrument
toonerror
and handled fromtrue
tofalse
. The latter of these changes seems a bit odd to me, because thesetTimeout
error was in fact never "handled."I see that there are a few other wrappers for things like XHR, RAF and DOM event listeners but I believe the Window
error
Event will handle all of these in similar fashion.Thanks in advance,
Justin
Beta Was this translation helpful? Give feedback.
All reactions