Catch final log
This commit is contained in:
1 parent
af92355e2f
commit
456b44e80f
1 file changed
+4
-1
+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