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 tried running one of our apps in the Brave browser which has native add/tracking built in.
Unfortately this breaks our app, as we are relying on the success and failure callbacks on the sendAmplitudeEvent method to do app functionality after an element has been interacted with.
The devtools show a net::ERR_BLOCKED_BY_CLIENT error, which bypasses Request's handling and requires a try catch to catch properly.
The issue seems to be that all errors are being swallowed by by an empty try-catch as can be seen on the following line:
This of course might be red herring, and there could be another way to catch errors thrown at this level. We've tried surrounding the whole method in a try-catch but this does not catch the error.