diff options
author | 2024-02-14 09:17:02 +0000 | |
---|---|---|
committer | 2024-02-14 09:17:02 +0000 | |
commit | 6d5ba1374d925100bf850dc5c4a6a99fd03c20e9 (patch) | |
tree | 85bed8ad6d7e7d881c2568181df54d95b11601eb /arthur/config.py | |
parent | Correct typos in Grafana API wrapper doc strings (diff) | |
parent | add a sentry release workflow (diff) |
Merge pull request #149 from python-discord/integrate-sentry
Integrate sentry into king arthur
Diffstat (limited to 'arthur/config.py')
-rw-r--r-- | arthur/config.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arthur/config.py b/arthur/config.py index e9f80d9..c4f7e1a 100644 --- a/arthur/config.py +++ b/arthur/config.py @@ -1,5 +1,7 @@ """Utilities for interacting with the config for King Arthur.""" +from os import environ + import pydantic from pydantic_settings import BaseSettings @@ -23,6 +25,10 @@ class Config( devops_role: int = 409416496733880320 guild_id: int = 267624335836053506 + sentry_dsn: str = "" + + +GIT_SHA = environ.get("GIT_SHA", "development") CONFIG = Config() |