def handle_error(self): # don't close the socket on error (file, fun, line), t, v, tbinfo = asyncore.compact_traceback() self.log_info('Problem in ICP (%s:%s %s)' % (t, v, tbinfo), 'error')