Add more sentry info

This commit is contained in:
MartinBraquet
2026-03-30 16:33:29 +02:00
parent b670de9c73
commit 85c96ce430

View File

@@ -94,6 +94,8 @@ function ProfilePageInner(props: {user: User; profile: Profile}) {
}
Sentry.captureException(error, {
extra: {baseUser, parsedProfile, interests, causes, work},
contexts: {profile: {profile_id: baseUser.id, parsedProfile, interests}}, // searchable
user: {id: baseUser.id}, // shows in the User section
})
toast.error(message)
return