mirror of
https://github.com/jlu5/PyLink.git
synced 2024-11-24 03:29:28 +01:00
corecommands: remove duplicate error logging when REHASH fails
This commit is contained in:
parent
2b346e3c01
commit
3cc6ea1e88
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user