mirror of
				https://github.com/Mikaela/Limnoria.git
				synced 2025-11-04 01:27:21 +01:00 
			
		
		
		
	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:
 | 
			
		||||
                        _ = loadPluginModule(name)
 | 
			
		||||
                    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
 | 
			
		||||
 | 
			
		||||
    def disambiguate(self, irc, tokens, ambiguousCommands=None):
 | 
			
		||||
@ -380,7 +382,7 @@ class Owner(privmsgs.CapabilityCheckingPrivmsg):
 | 
			
		||||
            irc.replySuccess()
 | 
			
		||||
        else:
 | 
			
		||||
            irc.reply(conf.supybot.commands.defaultPlugins.get(command)())
 | 
			
		||||
            
 | 
			
		||||
 | 
			
		||||
    def ircquote(self, irc, msg, args):
 | 
			
		||||
        """<string to be sent to the server>
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user