getJobId(); $this->jobStatus->markRunning($jobId); $this->logger->info('Dump job started.', ['jobId' => $jobId]); try { $this->dumpService->createAsync($jobId, $this->jobStatus); } catch (\Throwable $exception) { $this->logger->error('Dump job failed.', ['jobId' => $jobId, 'exception' => $exception]); $this->jobStatus->markFailed($jobId, $exception->getMessage()); } } }