-
Notifications
You must be signed in to change notification settings - Fork 120
Description
When opening the chat in one of our React Native apps in production some users receive an error (see image below). Our error logging/reporting doesn't catch any crashes/exceptions. I would assume this would be a 500 error from the API or something related to that. It happens occasionally but not for all devices/users.
I was wondering how one could figure out what is going wrong? Would be nice for our error reporting that if something went wrong on the TalkJS side that our system notifies us about this as well. I couldn't find anything about that in the docs. Maybe I missed something. For example add a callback which you could configure to send something to Sentry.
new Talk.Session({
appId: 'YOUR_APP_ID',
me: me,
onError: (e) => Sentry.captureException(e),
});
Besides this, do you maybe know what is causing some users to see the following error?