Divers : Interro 27
This commit is contained in:
+3
-1
@@ -649,7 +649,7 @@ def process_single_task(task_tuple, precomputed_response=None):
|
||||
for p in json_data:
|
||||
pid = p["id"]
|
||||
res = p["result"]
|
||||
|
||||
|
||||
# Inject additional error if present
|
||||
if injected_error:
|
||||
if res["error"]:
|
||||
@@ -720,6 +720,8 @@ def process_single_task(task_tuple, precomputed_response=None):
|
||||
tprint(f"Error decoding JSON for {file_path}", file=sys.stderr)
|
||||
except Exception as e:
|
||||
error_msg = f"Exception processing {file_path}: {e}"
|
||||
import traceback
|
||||
traceback.print_exc() # <--- Add this line to see the real crash
|
||||
print(error_msg, file=sys.stderr)
|
||||
with io_lock:
|
||||
errors_summary.append((error_msg, file_path))
|
||||
|
||||
Reference in New Issue
Block a user