timestamp ?? 'undefined'; $this->stopwatch->start('price_import_trigger'); print('[Handler] Start Import with client timestamp: '.$ts."\n"); try { $this->importService->writePrices(); } catch (Throwable $exception) { $this->logger->error('[Handler] Import error: ', [ 'timestamp' => $ts, 'message' => $exception->getMessage(), 'exception' => $exception, ]); print('[Handler] Import error: '.$exception->getMessage()."\n"); throw $exception; } $event = $this->stopwatch->stop('price_import_trigger'); $duration = number_format(($event?->getDuration() ?? 0) / 1000, 2); print('[Handler] Import complete with client timestamp: '.$ts."\n"); print('[Handler] Duration: '.$duration." s\n\n"); } }