config->isEnabled() || !$this->config->isSkuSyncEnabled()) { return; } try { $summary = $this->synchronizer->synchronizeAll(); if ($summary['errors'] !== []) { $this->logger->error('Lingxing ERP SKU synchronization completed with Website errors.', [ 'errors' => $summary['errors'], ]); } } catch (\Throwable $exception) { $this->logger->error('Lingxing ERP SKU synchronization failed.', ['exception' => $exception]); } } }