From da85445554f618f3cec5e5ecbf7fec6200389a69 Mon Sep 17 00:00:00 2001 From: zeeshanrafiqrana Date: Fri, 8 Dec 2023 17:53:40 +0500 Subject: [PATCH] add None for default env --- synapse/app/_base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/synapse/app/_base.py b/synapse/app/_base.py index d786b4a8dad6..9a52dab67e65 100644 --- a/synapse/app/_base.py +++ b/synapse/app/_base.py @@ -663,7 +663,7 @@ def setup_sentry(hs: "HomeServer") -> None: import sentry_sdk # Set a default environment if it's not configured - default_environment = "" + default_environment = None environment = hs.config.metrics.sentry_environment or default_environment sentry_sdk.init(