Skip to content

Commit e609f21

Browse files
committed
✨ Print traceback of exception
1 parent aa7e7bb commit e609f21

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

server.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import os
22
import threading
3+
import traceback
34
from collections import defaultdict
45
from datetime import date
56

@@ -61,6 +62,7 @@ def run(config):
6162
report_tuples=[],
6263
report_sites_name={})
6364
except Exception as e:
65+
traceback.print_exc()
6466
try:
6567
with open(log_file, 'r') as log_file:
6668
log = log_file.read()

0 commit comments

Comments
 (0)