Skip to content

Commit

Permalink
Merge pull request #213 from bird-house/revert_sentry_env
Browse files Browse the repository at this point in the history
Revert "added SENTRY_ENV environment variable"
  • Loading branch information
huard authored Nov 16, 2021
2 parents 6fb27b6 + 22543a6 commit 6c9badb
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions finch/wsgi.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,8 @@

from .processes import get_processes

SENTRY_ENV = os.environ.get("SENTRY_ENV", "production")

if os.environ.get("SENTRY_DSN"):
sentry_sdk.init(os.environ["SENTRY_DSN"], SENTRY_ENV)
sentry_sdk.init(os.environ["SENTRY_DSN"])


def create_app(cfgfiles=None):
Expand Down

0 comments on commit 6c9badb

Please sign in to comment.