summaryrefslogtreecommitdiffstats
path: root/takahe
diff options
context:
space:
mode:
Diffstat (limited to 'takahe')
-rw-r--r--takahe/settings/base.py2
-rw-r--r--takahe/settings/production.py1
2 files changed, 3 insertions, 0 deletions
diff --git a/takahe/settings/base.py b/takahe/settings/base.py
index 719e03b..0ab3035 100644
--- a/takahe/settings/base.py
+++ b/takahe/settings/base.py
@@ -116,3 +116,5 @@ ALLOWED_HOSTS = ["*"]
AUTO_ADMIN_EMAIL: Optional[str] = None
STATOR_TOKEN: Optional[str] = None
+
+SENTRY_ENABLED = False
diff --git a/takahe/settings/production.py b/takahe/settings/production.py
index 4120217..b23093f 100644
--- a/takahe/settings/production.py
+++ b/takahe/settings/production.py
@@ -91,3 +91,4 @@ if "SENTRY_DSN" in os.environ:
traces_sample_rate=1.0,
send_default_pii=True,
)
+ SENTRY_ENABLED = True