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