Skip to content

Instantly share code, notes, and snippets.

@maiha
Created March 1, 2021 08:42
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save maiha/a90c10d66c920143f3001bc8965ea21c to your computer and use it in GitHub Desktop.
raven : An unofficial Crystal-language client and integration layer for the Sentry error reporting API.
    private def current_environment_from_env
      ENV["SENTRY_ENVIRONMENT"]? || "default"
 
    private def detect_release_from_env
      ENV["SENTRY_RELEASE"]?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment