# HG changeset patch # User Charly COSTE # Date 1269299799 -3600 # Node ID 48cf498b96208246503f5a5b8f50dcddfcc9142a # Parent 53f4d9aa2b52b00201bfe29334dd672d65577671 minor change in Bridge, lighten up error message in _xmpp_join_callback Signed-off-by: Charly COSTE diff --git a/bridge.py b/bridge.py --- a/bridge.py +++ b/bridge.py @@ -130,7 +130,7 @@ class Bridge: except xmpp.muc.RemoteServerNotFound: self._RemoteServerNotFound_handler() except: - trace = traceback.format_exc() + trace = traceback.format_exc().splitlines()[-1] self.bot.error(say_levels.error, 'failed to connect to the XMPP room of bridge "'+str(self)+'", stopping bridge\n'+trace, send_to_admins=True) self.stop(message='Failed to connect to the XMPP room, stopping bridge', log=False)