I have problem with callbacks; I see that this is not thrown in window.onerror at all (except in ajax errors). I cannot capture it even if it is inside Raven.context().
z=1; //throws error to window.onerror as well as logs to Sentry
y=1; //error from here is not thrown to window.onerror or logged to Sentry even if it is under
If I purposefuly wrap the above code
y=1; //error from here is not thrown to window.onerror but logged to Sentry
Is there any easy way of doing this.
I see already a discussion related to this which talks about limitation
Do you have opinion on the below article. I see all errors are logged to console no matter synchrnous or asynchronous