Tracelit catches errors automatically the moment you install the tracker. No configuration needed. Every error appears in your dashboard with the full context: what happened, when, which user, and a one-click link to the session replay at the exact moment the error occurred.Documentation Index
Fetch the complete documentation index at: https://docs.tracelit.io/llms.txt
Use this file to discover all available pages before exploring further.

What Tracelit catches
| Error type | Example |
|---|---|
runtime | Uncaught TypeError, ReferenceError, any thrown exception |
promise | Unhandled Promise.reject() |
api | Fetch or XHR returning 4xx / 5xx |
api_slow | Any request taking longer than 3 seconds |
api_network | Fetch / XHR that fails to connect entirely |
graphql | GraphQL 200 response with an errors array in the body |
console_error | Anything logged with console.error() (opt-in) |
resource | Broken images, missing fonts, failed script loads |
network_offline | Browser goes offline mid-session |
websocket | WebSocket connection failures or abnormal closure |
long_task | Main thread blocked 150ms+ (with source attribution) |
memory | Device heap approaching limit (Chrome only) |
Capture console.error (opt-in)
By default, console.error calls are not sent to Tracelit. Enable it with one option:
View errors in the dashboard
From the Errors tab in your dashboard you can:- See error frequency over time (how often, how many users affected)
- Filter by error type, page, or user
- Click any error to see the full stack trace
- Click Watch session to open the replay and jump to the exact moment the error fired
Debug mode
During development, turn ondebug: true to see every captured event — including errors — logged to the browser console:
No extra setup needed
Every error type in the table above is captured automatically. Tracelit monkey-patchesfetch, XMLHttpRequest, history.pushState, WebSocket, and console.error (if enabled) to intercept failures at the source.
When you call destroy(), all patches are cleanly removed and the originals are restored.