Skip to content

Instantly share code, notes, and snippets.

@mathieuletyrant
Created November 23, 2018 12:43
Show Gist options
  • Save mathieuletyrant/70ddcf2668819456b76eb646129bc460 to your computer and use it in GitHub Desktop.
Save mathieuletyrant/70ddcf2668819456b76eb646129bc460 to your computer and use it in GitHub Desktop.
Sentry Init with release
Sentry.init({
dsn: env.SENTRY_DSN,
environment: env.ENVIRONMENT,
release: env.COMMIT_SHA1, // Passed by CircleCI during the build
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment