Skip to content

Empty DSN on Spring configuration fails disable Sentry #1132

@bruno-garcia

Description

@bruno-garcia

My app. fails to start when passing sentry.dsn=${SENTRY_DSN:""} or sentry.dsn=${SENTRY_DSN:}, using 3.x

Failed to instantiate [io.sentry.IHub]: Factory method 'sentryHub' threw exception; nested exception is 
io.sentry.InvalidDsnException: java.net.URISyntaxException: Illegal character in path at index 0: ""
how to disable it locally?

From this comment: #574 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions