Manual error tracking installation
Contents
Error tracking enables you to track, investigate, and resolve exceptions your customers face.
If you're using the API or an SDK without exception autocapture or capture_exception
method, you can manually capture errors by using the capture API or capture
method to capture an $exception
event with the following properties:
Property | Description |
---|---|
$exception_list | A list of exception objects with detailed information about each error. Each exception can include a type , value , mechanism , module , thread_id , and a stacktrace with frames and type . You can find the expected schema as types for both exception and stack frames in our JS repo |
$exception_fingerprint | (Optional) The identifier used to group issues. If not set, a unique hash based on the exception pattern will be generated during ingestion |
The expected schema is described as a type in our JS repo.
Example exception API capture
Terminal