diff --git a/api/datalake_api/app.py b/api/datalake_api/app.py index 26219f2..4e792f2 100644 --- a/api/datalake_api/app.py +++ b/api/datalake_api/app.py @@ -41,7 +41,7 @@ dsn = os.environ.get("SENTRY_DSN") traces_sample_rate = \ - float(os.environ.get("SENTRY_TRACES_SAMPLE_RATE"), None) + float(os.environ.get("SENTRY_TRACES_SAMPLE_RATE", None)) sentry_sdk.init(dsn=dsn, integrations=[FlaskIntegration()], traces_sample_rate=traces_sample_rate)