What problem does it solve?
Guidelines for fixing unhandled errors from the ShadowCode error telemetry dashboard. Use when investigating error-telemetry issues with stack traces, error messages, and hit/user counts. Covers tracing data flow through call stacks, identifying producers of invalid data vs. consumers that crash, enriching error messages for telemetry diagnosis, and avoiding common anti-patterns like silently swallowing errors.
Core Features & Use Cases
- Trace data flow: Read each frame in the stack trace from bottom to top to identify producers of invalid data.
- Enrich telemetry: Add diagnostic context to error messages to reveal the sender in telemetry.
- Producer fixes: Apply fixes at the data producer stage to sanitize data before sending to IPC or logs.
- Guidelines for safe changes: Do not swallow errors; ensure tests run.
Quick Start
Identify the unhandled telemetry error, trace the data flow from producer to consumer, and implement a producer-side fix that enriches error messages.