File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -460,6 +460,8 @@ async def run_with_semaphore(task: Task) -> None:
460460 # Get prediction index if the task has one
461461 prediction_index = getattr (task , "prediction_index" , None )
462462 errors .append ((e , prediction_index ))
463+ prefix = "" if prediction_index is None else f"[{ prediction_index } ] "
464+ log .error (f"{ prefix } { error } " )
463465
464466 # Create task coroutines and run them concurrently
465467 task_coroutines = [run_with_semaphore (task ) for task in tasks ]
@@ -469,10 +471,10 @@ async def run_with_semaphore(task: Task) -> None:
469471
470472 if errors :
471473 # Display all errors with their prediction indices
472- log .error (f"💥 Found { len (errors )} error(s):" )
474+ log .error (f"💥 Tests finished with { len (errors )} error(s):" )
473475 for error , prediction_index in errors :
474476 prefix = "" if prediction_index is None else f"[{ prediction_index } ] "
475- log .error (f"{ prefix } { error } " )
477+ log .error (f"* { prefix } { error } " )
476478
477479 sys .exit (1 )
478480
You can’t perform that action at this time.
0 commit comments