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
Found that we're unable to see when segment events have successfully sent: when calling analytics.track the app receives undefined as a response (even if the event has been sent successfully). When an event has not been successfully sent there have been multiple times an error gets swallowed inside analytics-next and never surface to the consuming app.
Examples:
When sending additional eventProperties I accidentally sent data that could not be json stringified saw in the debugger that the even failed here but we did not have access to the error so an error was never thrown inside our app even though we have analytics.track wrapped in a try/catch. There's no way to have typescript catch this error prior to sending because eventProperties are type to take any value
We have also observed that we don't get any indication when loading of analytics fails as well, it too is swallowed inside and never hits the catch block
Found that we're unable to see when segment events have successfully sent: when calling analytics.track the app receives undefined as a response (even if the event has been sent successfully). When an event has not been successfully sent there have been multiple times an error gets swallowed inside analytics-next and never surface to the consuming app.
Examples:
The text was updated successfully, but these errors were encountered: