aboutsummaryrefslogtreecommitdiffstats
path: root/arthur/__main__.py
diff options
context:
space:
mode:
authorGravatar ChrisJL <[email protected]>2024-02-14 09:17:02 +0000
committerGravatar GitHub <[email protected]>2024-02-14 09:17:02 +0000
commit6d5ba1374d925100bf850dc5c4a6a99fd03c20e9 (patch)
tree85bed8ad6d7e7d881c2568181df54d95b11601eb /arthur/__main__.py
parentCorrect typos in Grafana API wrapper doc strings (diff)
parentadd a sentry release workflow (diff)
Merge pull request #149 from python-discord/integrate-sentry
Integrate sentry into king arthur
Diffstat (limited to 'arthur/__main__.py')
-rw-r--r--arthur/__main__.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/arthur/__main__.py b/arthur/__main__.py
index 53e1fb3..041399b 100644
--- a/arthur/__main__.py
+++ b/arthur/__main__.py
@@ -9,6 +9,7 @@ from discord.ext import commands
import arthur
from arthur.bot import KingArthur
from arthur.config import CONFIG
+from arthur.log import logger, setup_sentry
async def main() -> None:
@@ -34,5 +35,7 @@ async def main() -> None:
await bot.start(CONFIG.token.get_secret_value())
-with arthur.logger.catch():
+setup_sentry()
+
+with logger.catch():
asyncio.run(main())