From 6a11b5ea0576986746350dd336f2360c25ed766e Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Fri, 2 Jan 2026 14:40:41 -0600 Subject: [PATCH] Capture session data with Sentry TypeError in SessionManager --- src/lib/SessionManager.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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