diff --git a/src/lib/SessionManager.ts b/src/lib/SessionManager.ts index 2a691e19..d2c97577 100644 --- a/src/lib/SessionManager.ts +++ b/src/lib/SessionManager.ts @@ -658,7 +658,9 @@ export class SessionManager { // Log unexpected TypeErrors to Sentry for investigation if (error instanceof TypeError) { - getSentryInstance()?.captureException(error); + getSentryInstance()?.captureException(error, { + data: { session }, + }); } // Re-throw service errors to be handled at the UI level