public function process() { if ($this->isRealTime()) { try { parent::process(); } catch (\Ess\M2ePro\Model\Exception\Connection $exception) { if ($this->account->getChildObject()->isModeSandbox()) { throw $exception; } $this->processResponser(); } catch (\Exception $exception) { if (strpos($exception->getMessage(), 'code:34') === false || $this->account->getChildObject()->isModeSandbox()) { throw $exception; } $this->processResponser(); } if ($this->getResponser()->getStatus() != \Ess\M2ePro\Helper\Data::STATUS_SUCCESS) { $this->getLogger()->setStatus($this->getResponser()->getStatus()); } $this->params['logs_action_id'] = $this->getResponser()->getLogsActionId(); return; } $this->eventBeforeExecuting(); $this->getProcessingRunner()->start(); }