|
|
|
|
@ -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: |
|
|
|
|
|