mirror of https://github.com/Mikaela/Limnoria.git
Improved error message for the 'preserve the configuration' load attempt.
This commit is contained in:
parent
6ef38bd28f
commit
313624c1e2
|
@ -219,7 +219,9 @@ class Owner(privmsgs.CapabilityCheckingPrivmsg):
|
||||||
try:
|
try:
|
||||||
_ = loadPluginModule(name)
|
_ = loadPluginModule(name)
|
||||||
except Exception, e:
|
except Exception, e:
|
||||||
log.exception('Failed to load %s:', name)
|
log.info('Attempted to load %s to preserve its '
|
||||||
|
'configuration, but load failed: %s',
|
||||||
|
name, e)
|
||||||
world.starting = False
|
world.starting = False
|
||||||
|
|
||||||
def disambiguate(self, irc, tokens, ambiguousCommands=None):
|
def disambiguate(self, irc, tokens, ambiguousCommands=None):
|
||||||
|
@ -380,7 +382,7 @@ class Owner(privmsgs.CapabilityCheckingPrivmsg):
|
||||||
irc.replySuccess()
|
irc.replySuccess()
|
||||||
else:
|
else:
|
||||||
irc.reply(conf.supybot.commands.defaultPlugins.get(command)())
|
irc.reply(conf.supybot.commands.defaultPlugins.get(command)())
|
||||||
|
|
||||||
def ircquote(self, irc, msg, args):
|
def ircquote(self, irc, msg, args):
|
||||||
"""<string to be sent to the server>
|
"""<string to be sent to the server>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue