From 96fc8108181098007dc26b422c4f64e588ded327 Mon Sep 17 00:00:00 2001 From: Phxntxm Date: Fri, 15 Jul 2016 10:46:11 -0500 Subject: [PATCH] Printing full traceback, as I can't find my error at all --- bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot.py b/bot.py index e3334c5..1ac75b4 100644 --- a/bot.py +++ b/bot.py @@ -64,7 +64,7 @@ async def on_command_error(error, ctx): await bot.send_message(ctx.message.channel, fmt) else: fmt = 'An error occurred while processing this request: ```py\n{}: {}\n```' - await bot.send_message(ctx.message.channel,traceback.format_exc()) + await bot.send_message(ctx.message.channel,str(traceback.format_exc())) #await bot.send_message(ctx.message.channel, fmt.format(type(error).__name__, error)) if __name__ == '__main__':