diff options
Diffstat (limited to 'arthur/__main__.py')
| -rw-r--r-- | arthur/__main__.py | 4 | 
1 files changed, 3 insertions, 1 deletions
| diff --git a/arthur/__main__.py b/arthur/__main__.py index 6f4a68f..041399b 100644 --- a/arthur/__main__.py +++ b/arthur/__main__.py @@ -9,7 +9,7 @@ from discord.ext import commands  import arthur  from arthur.bot import KingArthur  from arthur.config import CONFIG -from arthur.log import logger +from arthur.log import logger, setup_sentry  async def main() -> None: @@ -35,5 +35,7 @@ async def main() -> None:              await bot.start(CONFIG.token.get_secret_value()) +setup_sentry() +  with logger.catch():      asyncio.run(main()) | 
