Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
add None for default env
Browse files Browse the repository at this point in the history
  • Loading branch information
zeeshanrafiqrana committed Dec 8, 2023
1 parent 0c371b0 commit da85445
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion synapse/app/_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit da85445

Please sign in to comment.