Capture session data with Sentry TypeError in SessionManager

This commit is contained in:
Alex Gleason committed 2026-01-02 14:40:41 -06:00
1 parent 85ac92db96
commit 6a11b5ea05
1 file changed
+3 -1
+3 -1
View File
@@ -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