evaluationRunId); if (! $run || $run->isCanceled()) { return; } $coordinator = app(EvaluationCoordinator::class); $coordinator->eventInfo($run, 'Dispatch score: krok spuštěn.', [ 'step' => 'dispatch_score', 'round_id' => $run->round_id, ]); try { $coordinator->dispatchStep($run, 'score'); $coordinator->eventInfo($run, 'Dispatch score: krok dokončen.', [ 'step' => 'dispatch_score', 'round_id' => $run->round_id, ]); } catch (Throwable $e) { $coordinator->eventError($run, 'Dispatch score: krok selhal.', [ 'step' => 'dispatch_score', 'round_id' => $run->round_id, 'error' => $e->getMessage(), ]); throw $e; } } }