|
|
|
@ -308,7 +308,7 @@ def loop(): |
|
|
|
print_error() |
|
|
|
print_error() |
|
|
|
|
|
|
|
|
|
|
|
def print_error(): |
|
|
|
def print_error(): |
|
|
|
print "-------ERROR OCCURED-------", datetime.datetime.now.strftime("%Y-%h-%d, %H:%M:%S") |
|
|
|
print "-------ERROR OCCURED-------", datetime.datetime.now().strftime("%Y-%h-%d, %H:%M:%S") |
|
|
|
print"--time: ", |
|
|
|
print"--time: ", |
|
|
|
traceback.print_exc(file=sys.stdout) |
|
|
|
traceback.print_exc(file=sys.stdout) |
|
|
|
print "---------------------------" |
|
|
|
print "---------------------------" |
|
|
|
|