Update Sentry context key to 'Error Info' in profile page

This commit is contained in:
MartinBraquet
2026-03-30 17:05:33 +02:00
parent a51bd344a2
commit 6a9739ab31

View File

@@ -94,7 +94,7 @@ function ProfilePageInner(props: {user: User; profile: Profile}) {
}
Sentry.captureException(error, {
user: baseUser, // shows in the User section
contexts: {errorInfo: {message}}, // only strings as values (not nested objects)
contexts: {'Error Info': {message}}, // only strings as values (not nested objects)
extra: {parsedProfile, interests, causes, work}, // for the rest (nested, etc.)
})
toast.error(message)