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
Is your feature request related to a problem? Please describe.
Currently we have 2 custom flags which can be used to avoid application crashes when JS exceptions are thrown discardUncaughtJsExceptions and suppressCallJSMethodExceptions. Unfortunately those type of exceptions cannot be collected through analytics, so it would be good if we can provide a way of handling such exceptions so that you could be able to get more details about where and how often they happen.
Describe the solution you'd like
Adding __onDiscardedError similar to __onUncaughtError handler which will receive those exceptions can be useful to process them, e.g.:
global.__onDiscardedError=function(error){console.log(error.message);console.log(error.stackTrace);console.log(error.nativeException);//report the exception in your analytics solution here}
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
Currently we have 2 custom flags which can be used to avoid application crashes when JS exceptions are thrown discardUncaughtJsExceptions and suppressCallJSMethodExceptions. Unfortunately those type of exceptions cannot be collected through analytics, so it would be good if we can provide a way of handling such exceptions so that you could be able to get more details about where and how often they happen.
Describe the solution you'd like
Adding __onDiscardedError similar to __onUncaughtError handler which will receive those exceptions can be useful to process them, e.g.:
The text was updated successfully, but these errors were encountered: