mirror of
https://github.com/myned/modufur.git
synced 2024-11-01 13:02:38 +00:00
Remove error suppression
This commit is contained in:
parent
ea2de2c1d7
commit
4191ea1ce3
1 changed files with 2 additions and 2 deletions
|
@ -118,8 +118,8 @@ async def on_command_error(ctx, error):
|
|||
with suppress(err.NotFound):
|
||||
if isinstance(error, err.NotFound):
|
||||
print('NOT FOUND')
|
||||
elif isinstance(error, errext.CommandInvokeError):
|
||||
print(f'ERROR : {error}')
|
||||
# elif isinstance(error, errext.CommandInvokeError):
|
||||
# print(f'ERROR : {error}')
|
||||
elif isinstance(error, err.Forbidden):
|
||||
pass
|
||||
elif isinstance(error, errext.CommandOnCooldown):
|
||||
|
|
Loading…
Reference in a new issue