--- trunk/bin/irc-logger.pl 2008/03/23 12:32:14 131 +++ trunk/bin/irc-logger.pl 2008/04/01 19:04:32 132 @@ -610,7 +610,8 @@ $a->{me} ? "***" . $a->{nick} : "<" . $a->{nick} . ">", " " . $a->{message}; - $sth_insert_log->execute($a->{channel}, $a->{me}, $a->{nick}, $a->{message}, $a->{time}); + eval { $sth_insert_log->execute($a->{channel}, $a->{me}, $a->{nick}, $a->{message}, $a->{time}); }; + _log "ERROR: can't archive ", $a->{message} if $@; add_tag( id => $dbh->last_insert_id(undef,undef,"log",undef), %$a ); }