We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e715e18 commit d846986Copy full SHA for d846986
sentry_sdk/client.py
@@ -51,6 +51,12 @@ def get_options(*args, **kwargs):
51
if rv["dsn"] is None:
52
rv["dsn"] = os.environ.get("SENTRY_DSN")
53
54
+ if rv["release"] is None:
55
+ rv["release"] = os.environ.get("SENTRY_RELEASE")
56
+
57
+ if rv["environment"] is None:
58
+ rv["environment"] = os.environ.get("SENTRY_ENVIRONMENT")
59
60
return rv # type: ignore
61
62
0 commit comments