3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-11-01 09:19:23 +01:00

corecommands: remove duplicate error logging when REHASH fails

This commit is contained in:
James Lu 2017-07-12 22:44:21 -07:00
parent 2b346e3c01
commit 3cc6ea1e88

View File

@ -190,7 +190,6 @@ def rehash(irc, source, args):
try: try:
control.rehash() control.rehash()
except Exception as e: # Something went wrong, abort. except Exception as e: # Something went wrong, abort.
log.exception("Error REHASHing config: ")
irc.reply("Error loading configuration file: %s: %s" % (type(e).__name__, e)) irc.reply("Error loading configuration file: %s: %s" % (type(e).__name__, e))
return return
else: else: