Skip to content

Default dsn when set to an empty string#546

Merged
bretthoerner merged 1 commit intogetsentry:masterfrom
emcfarlane:dsn-empty-string
Jan 15, 2018
Merged

Default dsn when set to an empty string#546
bretthoerner merged 1 commit intogetsentry:masterfrom
emcfarlane:dsn-empty-string

Conversation

@emcfarlane
Copy link
Copy Markdown

@emcfarlane emcfarlane commented Jan 12, 2018

This is so environment variable SENTRY_DSN can be set to an empty string without failing.

@bretthoerner
Copy link
Copy Markdown

Thanks, looks good. Do you mind making a quick change to use our utility function? https://github.com/getsentry/sentry-java/blob/master/sentry/src/main/java/io/sentry/util/Util.java#L25

@emcfarlane
Copy link
Copy Markdown
Author

@bretthoerner fixed.

@bretthoerner bretthoerner merged commit c856b76 into getsentry:master Jan 15, 2018
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

Successfully merging this pull request may close these issues.

2 participants