diff options
| author | 2024-02-13 22:52:19 +0100 | |
|---|---|---|
| committer | 2024-02-13 22:52:19 +0100 | |
| commit | 27be47d23874e8ae5eeed1bb5b777a0dab90e88a (patch) | |
| tree | 5b3189aee819d30ae619ce9c5f22d670e04a1a95 /arthur/__main__.py | |
| parent | add sentry-sdk package (diff) | |
move logger to its own package
This sets the place to centralize all logs configs in its own module
Diffstat (limited to 'arthur/__main__.py')
| -rw-r--r-- | arthur/__main__.py | 3 | 
1 files changed, 2 insertions, 1 deletions
| diff --git a/arthur/__main__.py b/arthur/__main__.py index 53e1fb3..6f4a68f 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  async def main() -> None: @@ -34,5 +35,5 @@ async def main() -> None:              await bot.start(CONFIG.token.get_secret_value()) -with arthur.logger.catch(): +with logger.catch():      asyncio.run(main()) | 
