added exception to attempted server connect

This commit is contained in:
bMorgan01 2021-11-29 15:29:24 -07:00
parent 262f5e7d15
commit 7b4a3f2e7a

View file

@ -46,7 +46,7 @@ async def on_command_error(ctx: discord.ext.commands.context.Context, error: dis
elif isinstance(error, discord.ext.commands.MissingPermissions):
await safeSend("You are missing " + ", ".join(error.missing_perms) + " permission(s) to run this command.", ctx=ctx)
elif isinstance(error, discord.ext.commands.CommandInvokeError):
print(error.__class__.__name__)
print(error.original.__class__.__name__)
await log(ctx, "Query failed, server down?")
else:
raise error