find($event->data['service_id'] ?? null); $teamId = $event->data['team_id'] ?? null; if (! $service || is_null($teamId) || $service->team()?->id !== $teamId) { return; } try { $this->refresher->refreshService($service); } catch (Throwable $e) { Log::warning('Could not refresh the status of a started service.', ['service' => $service->uuid, 'error' => $e->getMessage()]); } ServiceStatusChanged::dispatch($service->server?->team_id); } }