From 3d53d4e88c63e68348d9d4019e797c0244d5c9a7 Mon Sep 17 00:00:00 2001 From: Twentysix Date: Mon, 23 May 2016 14:44:01 +0200 Subject: [PATCH] Clearer cog error messages --- cogs/owner.py | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/cogs/owner.py b/cogs/owner.py index 2b5eedeaf..ac7c088d2 100644 --- a/cogs/owner.py +++ b/cogs/owner.py @@ -62,14 +62,14 @@ class Owner: except CogLoadError as e: log.exception(e) traceback.print_exc() - await self.bot.say("There was an issue loading the module." - " Check your logs for more information.") + await self.bot.say("There was an issue loading the module. Check" + " your console or logs for more information.") except Exception as e: log.exception(e) traceback.print_exc() await self.bot.say('Module was found and possibly loaded but ' - 'something went wrong.' - ' Check your logs for more information.') + 'something went wrong. Check your console ' + 'or logs for more information.') else: set_cog(module, True) await self.disable_commands() @@ -149,7 +149,7 @@ class Owner: log.exception(e) traceback.print_exc() await self.bot.say("That module could not be loaded. Check your" - " logs for more information.") + " console or logs for more information.") else: set_cog(module, True) await self.disable_commands() @@ -286,7 +286,8 @@ class Owner: await self.bot.say("Done.") log.debug("changed avatar") except Exception as e: - await self.bot.say("Error, check your logs for more information.") + await self.bot.say("Error, check your console or logs for " + "more information.") log.exception(e) traceback.print_exc()