Skip to content

Commit 6a9739a

Browse files
committed
Update Sentry context key to 'Error Info' in profile page
1 parent a51bd34 commit 6a9739a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

web/pages/profile.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ function ProfilePageInner(props: {user: User; profile: Profile}) {
9494
}
9595
Sentry.captureException(error, {
9696
user: baseUser, // shows in the User section
97-
contexts: {errorInfo: {message}}, // only strings as values (not nested objects)
97+
contexts: {'Error Info': {message}}, // only strings as values (not nested objects)
9898
extra: {parsedProfile, interests, causes, work}, // for the rest (nested, etc.)
9999
})
100100
toast.error(message)

0 commit comments

Comments
 (0)