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
Browse filesBrowse the repository at this point in the historyBrowse files
Hanzo AI
committed
fix(telemetry): wire the error plane to Sentry
This app already pointed @hanzo/event at the correct door, but carried no DSN,
so its error plane was inert: every captured error — auto (window.onerror,
unhandledrejection), React (ErrorBoundary) and manual (errorLogger via
setErrorReporter) — went only to the cloud event warehouse and never reached the
Sentry dashboard.
Pass a DSN (NEXT_PUBLIC_HANZO_EVENT_DSN, the `hanzo-app` project) so those same
call sites now also emit a real Sentry envelope. Publishable, write-only key —
build env, never committed. Unset leaves the plane inert and analytics unaffected.
Also corrects the comment claiming Cloud fans the one /v1/event stream out to
the error (sentry) lens. It does not — that belief is exactly why this app
reported no errors.
Requires @hanzo/event >= 0.3.2.
0 commit comments