sentry-java icon indicating copy to clipboard operation
sentry-java copied to clipboard

Disable stacktrace.app.packages warning when set to empty string.

Open bretthoerner opened this issue 9 years ago • 5 comments

From: https://github.com/getsentry/sentry/issues/6033

bretthoerner avatar Sep 05 '17 16:09 bretthoerner

@eximius313 thanks for the report, I've fixed this on master: https://github.com/getsentry/sentry-java/commit/d1257513bf67ec188d94140396e207b724196ea5

I'll cut a bugfix release this week.

bretthoerner avatar Sep 05 '17 17:09 bretthoerner

thanks!

eximius313 avatar Sep 05 '17 23:09 eximius313

Fix for this was released in 1.5.3

bretthoerner avatar Sep 08 '17 15:09 bretthoerner

This issue still appears in 1.7.3

io.sentry.DefaultSentryClientFactory : No 'stacktrace.app.packages' was configured, this option is highly recommended as it affects stacktrace grouping and display on Sentry. See documentation: https://docs.sentry.io/clients/java/config/#in-application-stack-frames

Even though I configured it not to: {dns}?stacktrace.app.packages=

mrj365 avatar Apr 27 '18 12:04 mrj365

This looks like a bug in how we parse DSN options, in foo= the value is treated as null and not ''.

https://github.com/getsentry/sentry-java/blob/master/sentry/src/main/java/io/sentry/dsn/Dsn.java#L166

Can you set it via Java System Properties, sentry.properties or System Environment Variable for now? I'll try to fix that soon.

bretthoerner avatar Apr 27 '18 13:04 bretthoerner