Printing traceback for loading, as it doesn't seem to be working
This commit is contained in:
parent
89d5bd9a22
commit
893af0e0cc
1 changed files with 2 additions and 0 deletions
|
@ -121,6 +121,8 @@ class Owner:
|
||||||
except Exception as error:
|
except Exception as error:
|
||||||
fmt = 'An error occurred while processing this request: ```py\n{}: {}\n```'
|
fmt = 'An error occurred while processing this request: ```py\n{}: {}\n```'
|
||||||
await self.bot.say(fmt.format(type(error).__name__, error))
|
await self.bot.say(fmt.format(type(error).__name__, error))
|
||||||
|
await self.bot.say(error.original.__traceback__)
|
||||||
|
await self.bot.say(error.__traceback__)
|
||||||
|
|
||||||
@commands.command()
|
@commands.command()
|
||||||
@commands.check(checks.isOwner)
|
@commands.check(checks.isOwner)
|
||||||
|
|
Loading…
Reference in a new issue