Added #1 to default channels. Had IRC log to a default channel. Added some more feedback upon module import failures.

This commit is contained in:
Griatch 2009-08-29 10:36:00 +00:00
parent 929786638d
commit 5a3d901b5c
4 changed files with 33 additions and 20 deletions

View file

@ -90,8 +90,8 @@ class EvenniaService(service.Service):
for cmd_mod in cmd_modules:
try:
__import__(cmd_mod)
except ImportError:
logger.log_errmsg("ERROR: Unable to load command module: %s" % cmd_mod)
except ImportError, e:
logger.log_errmsg("ERROR: Unable to load command module: %s (%s)" % (cmd_mod, e))
continue
"""