summaryrefslogtreecommitdiffstats
path: root/takahe/settings
diff options
context:
space:
mode:
authorAndrew Godwin2022-11-20 12:24:03 -0700
committerAndrew Godwin2022-11-20 12:24:03 -0700
commit77643a4fe144cb908a372a2ceb99f36634457ca5 (patch)
tree92e37e8a9e242a31d915eb60a0ab0c14bda2bcec /takahe/settings
parentfacdd2c08094ad378351375541fa8e65459fa8d1 (diff)
downloadtakahe-77643a4fe144cb908a372a2ceb99f36634457ca5.tar.gz
takahe-77643a4fe144cb908a372a2ceb99f36634457ca5.tar.bz2
takahe-77643a4fe144cb908a372a2ceb99f36634457ca5.zip
Add more error handling
Diffstat (limited to 'takahe/settings')
-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