-
-
Notifications
You must be signed in to change notification settings - Fork 435
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Contexts.setTrace can't be null #3414
Comments
Thanks for opening this issue @leonchen83. We'll change this to actually allow setting |
I've just taken a more detailed look at this and we do actually want a trace context to be there. Transactions are even dropped, if trace context is missing. I'll send a PR to update the annotation(s) but we'll keep requiring trace. |
Hi |
Thanks, I'll clarify about consistency, but for now I'll move forward with the |
We just had a talk about this and want to keep trace context required, i.e. |
Integration
sentry-android
Build System
Gradle
AGP Version
7.4.2
Proguard
Enabled
Version
7.8.0
Steps to Reproduce
Contexts.setTrace(final @nullable SpanContext traceContext)
Expected Result
it's Nullable. so traceContext can set to null.
Actual Result
throw NPE.
We want set this value to null as same as iOS sdk.
The text was updated successfully, but these errors were encountered: