Skip to content
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

Config doesnt work in version 2.0.29 #85

Open
abintrd opened this issue Mar 6, 2023 · 1 comment
Open

Config doesnt work in version 2.0.29 #85

abintrd opened this issue Mar 6, 2023 · 1 comment

Comments

@abintrd
Copy link

abintrd commented Mar 6, 2023

Following configuration doesn't work after upgrading the package from 2.0.12-1 to 2.0.29

    - type: sentry
      stacktraceAppPackages:
        - com.tradeshift
      threshold: ERROR
      dsn: https://[email protected]/1228780
      mdcTags: ['actor', 'tenant']
      environment: dev
      release: somerelease

throws this error

Caused by: com.fasterxml.jackson.databind.exc.InvalidDefinitionException: Failed on call to `getDeclaredMethods()` on class `org.dhatim.dropwizard.sentry.logging.SentryAppenderFactory`, problem: (java.lang.NoClassDefFoundError) io/sentry/SentryOptions
 at [Source: UNKNOWN; byte offset: #UNKNOWN] (through reference chain: com.tradeshift.ada.coding.AdaCodingConfiguration["logging"]->io.dropwizard.logging.DefaultLoggingFactory["appenders"]->java.util.ArrayList[1])
@tresni
Copy link

tresni commented Jan 4, 2024

Looks like this changed with c907978 and you should use inAppIncludes as a direct replacement for stacktraceAppPackages. Not sure what else is going on yet

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
@tresni @abintrd and others