Catch final log
This commit is contained in:
+4
-1
@@ -109,4 +109,7 @@ if __name__ == '__main__':
|
||||
except SystemExit:
|
||||
raise
|
||||
except:
|
||||
l.log.critical(traceback.format_exc())
|
||||
try:
|
||||
l.log.critical(traceback.format_exc())
|
||||
except:
|
||||
print traceback.format_exc()
|
||||
|
||||
Reference in New Issue
Block a user