Divers : Interro 27

This commit is contained in:
2026-05-08 15:36:18 +02:00
parent 428692f6c8
commit 26d02b0987
7 changed files with 70 additions and 15 deletions
+3 -1
View File
@@ -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))