diff --git a/brathuhn.py b/brathuhn.py index 9ba3605..62a5297 100644 --- a/brathuhn.py +++ b/brathuhn.py @@ -262,6 +262,7 @@ def loop(): print "-------ERROR OCCURED-------" exc_type, exc_value, exc_traceback = sys.exc_info() traceback.print_tb(exc_traceback, file=sys.stdout) + traceback.print_exc(file=sys.stdout) if not cl.connected: s=MIN_CONNECT_INTERVAL-(time.time()-last_connect) if s>0: diff --git a/tell.py b/tell.py index 1dae835..2f336a2 100644 --- a/tell.py +++ b/tell.py @@ -45,7 +45,7 @@ def tellCB(nick, msg, status): if(status != brathuhn.STATUS_JOIN): return - + user = nick.getResource() rem = [] for l in store: