Skip to content
This repository was archived by the owner on Feb 13, 2022. It is now read-only.

Commit d02fdb3

Browse files
committed
Don't use trace logger as it doesn't exist in threadbot
1 parent 72bb206 commit d02fdb3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

bot/bot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ async def wait_until_guild_available(self) -> None:
156156
async def close(self) -> None:
157157
"""Close the Discord connection and statsd client."""
158158
# Wait until all tasks that have to be completed before bot is closing is done
159-
logger.trace("Waiting for tasks before closing.")
159+
logger.info("Waiting for tasks before closing.")
160160
await asyncio.gather(*self.closing_tasks)
161161

162162
await super().close()

bot/exts/utils/error_handler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ async def on_command_error(self, ctx: Context, e: errors.CommandError) -> None:
4242
command = ctx.command
4343

4444
if hasattr(e, "handled"):
45-
logger.trace(f"Command {command} had its error already handled locally; ignoring.")
45+
logger.info(f"Command {command} had its error already handled locally; ignoring.")
4646
return
4747

4848
if isinstance(e, errors.UserInputError):

0 commit comments

Comments
 (0)