-
-
Notifications
You must be signed in to change notification settings - Fork 353
Description
OS:
- Windows
- MacOS
- Linux
Platform:
- iOS
- Android
SDK:
-
@sentry/react-native
(>= 1.0.0) -
react-native-sentry
(<= 0.43.2)
SDK version: 2.0.2
react-native
version: 0.63.2
Are you using Expo?
- Yes
- No
Are you using sentry.io or on-premise?
- sentry.io (SaaS)
- on-premise
If you are using sentry.io, please post a link to your issue so we can take a look:
https://sentry.io/organizations/lonestone/issues/2050084236/?project=5525775&query=is%3Aunresolved
Configuration:
(@sentry/react-native
)
Sentry.init({
dsn: 'https://...@sentry.io/...'
});
I have following issue:
While capturing an exception, I am setting extra context to have additionnal data to have a better analysis on my error. But I do not know why they do not appear on sentry.io
Steps to reproduce:
Sentry.captureException(e, {
tags: {
screen: Routes.AccountProCreationForm,
step: step,
email: email,
},
contexts: {
formContext: {
step1: {
name,
surname,
phone,
email,
password,
address,
zipcode,
city,
},
step2: {
description,
googleUrl,
profilePicture,
diplomas,
insuranceNumber,
},
},
},
});
There's a console.log
right before the captureException
call logging the content of formContext
, and everything is right, but there's anything on Sentry.io's console. Tags are well sent though.
Actual result:
Expected result:
I was expecting to see my values :<