temporary fix to log plugin

This commit is contained in:
Ryan Hitchman 2009-11-18 19:33:34 -07:00
parent 42270718e9
commit 55e0851eb8
1 changed files with 4 additions and 1 deletions

View File

@ -101,7 +101,10 @@ def log(bot, input):
if beau == '': # don't log this
return
print '%s %s %s' % (timestamp, input.chan, beau)
try:
print '%s %s %s' % (timestamp, input.chan, beau)
except Exception, e:
print e, timestamp, input.chan, beau
if input.chan:
fd = get_log_fd(bot.persist_dir, input.server, input.chan)