diff options
-rw-r--r-- | snekbox/__init__.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/snekbox/__init__.py b/snekbox/__init__.py index d9b007c..42628d4 100644 --- a/snekbox/__init__.py +++ b/snekbox/__init__.py @@ -8,11 +8,13 @@ from gunicorn.config import Config from sentry_sdk.integrations.falcon import FalconIntegration DEBUG = os.environ.get("DEBUG", False) +GIT_SHA = os.environ.get("GIT_SHA", "development") sentry_sdk.init( dsn=os.environ.get("SNEKBOX_SENTRY_DSN", ""), integrations=[FalconIntegration()], - send_default_pii=True + send_default_pii=True, + release=f"snekbox@{GIT_SHA}" ) |