Skip to main content

Exception tracking

Exception tracking captures any unhandled exceptions within the application.

The exception tracking is enabled by default. It can be set in TrackerConfiguration like in the example below:

let trackerConfig = TrackerConfiguration()
.exceptionAutotracking(true)

It allows the tracker to intercept critical exceptions in the app. Exceptions can crash the app so it's likely that the event will be sent after the restart of the app. Being a critical situation we can't be 100% sure that all the exception stacktraces are reliably stored for sending before the crash of the app.

Was this page helpful?