From 5d64aaf55c96784516a746e32f0cd418ee1f267f Mon Sep 17 00:00:00 2001 From: Myned Date: Sun, 10 Dec 2017 17:18:37 -0500 Subject: [PATCH] Added minimal logging of NotFound errors --- src/run.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/run.py b/src/run.py index 658d882..f50d6d8 100644 --- a/src/run.py +++ b/src/run.py @@ -142,7 +142,7 @@ async def on_error(error, *args, **kwargs): @bot.event async def on_command_error(ctx, error): if isinstance(error, err.NotFound): - pass + print('NOT FOUND') elif isinstance(error, errext.CheckFailure): await ctx.send('**Insufficient permissions**', delete_after=10) await ctx.message.add_reaction('\N{NO ENTRY}')