mirror of
https://github.com/RGBCube/minearchy-bot
synced 2025-07-27 08:57:46 +00:00
commit
36e8728e3c
1 changed files with 2 additions and 2 deletions
|
@ -49,8 +49,8 @@ class ErrorHandler(commands.Cog):
|
||||||
await ctx.reply("Invalid channel.")
|
await ctx.reply("Invalid channel.")
|
||||||
|
|
||||||
else:
|
else:
|
||||||
trace = traceback.format_exception(type(error), error, error.__traceback__)
|
trace = "".join(traceback.format_exception(type(error), error, error.__traceback__))
|
||||||
print(f"Ignoring exception in command {ctx.command}:\n{''.join(trace)}")
|
print(f"Ignoring exception in command {ctx.command}:\n{trace}")
|
||||||
await self.bot.log_webhook.send(f"<@512640455834337290>```{trace}```")
|
await self.bot.log_webhook.send(f"<@512640455834337290>```{trace}```")
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue