From 50f9a00689b8aeee9cead754bf638ab764cbc57c Mon Sep 17 00:00:00 2001 From: MartinBraquet Date: Mon, 30 Mar 2026 16:58:45 +0200 Subject: [PATCH] Add info more --- web/pages/profile.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/web/pages/profile.tsx b/web/pages/profile.tsx index cd847f32..b22850fe 100644 --- a/web/pages/profile.tsx +++ b/web/pages/profile.tsx @@ -93,9 +93,9 @@ function ProfilePageInner(props: {user: User; profile: Profile}) { message = `Error: ` + JSON.stringify(error.toJSON().error.details) } Sentry.captureException(error, { - extra: {baseUser, parsedProfile, interests, causes, work, message}, - contexts: {userProfile: {baseUser, parsedProfile, interests, causes, work}}, // searchable - user: {id: baseUser.id}, // shows in the User section + user: baseUser, // shows in the User section + contexts: {errorInfo: {message}}, // only strings as values (not nested objects) + extra: {parsedProfile, interests, causes, work}, // for the rest (nested, etc.) }) toast.error(message) return