code: public function logCommandFailed($command, Exception $exception)
      {
          $message = $this->getFailedMessage($command);
          $payload = $this->getPayload($command);
  
          $payload = array_merge($payload, ['exception' => $exception]);
  
          $this->logger->log(
              $this->commandFailedLevel,
              $message,
              $payload
          );
      }
docs: {@inheritdoc}