except Exception as err:
reply = ''.join(traceback.format_exc())
self.log.exception('An error occurred processing: {0}: {1}'.format(body, reply))
- if self.log.level < 20 and reply:
+ if self.log.level < 10 and reply:
self.send_message(mto=msg['from'].bare, mbody=reply, mtype='groupchat')
def start(self, event):