Default to env['SENTRY_DSN'] if none is passed · Issue #4 · getsentry/sentry-java · GitHub
Skip to content

Default to env['SENTRY_DSN'] if none is passed #4

Description

@dcramer

We should allow the client to be configurable via an environment DSN variable (its common on the Heroku platform, and supported by PHP and Python).

Being that I have no idea how Java works, I'm only somewhat confident this is possible, but ideally it would just look like:

RavenClient client = new RavenClient()

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions