Task/Database/DatabaseUpdaterTask.php
public function execute(ProcessState $state)
    {
        $statement = $this->initializeStatement($state);

        if (false === $statement->execute()) {
            throw new \RuntimeException("Error while executing query: {$statement->errorInfo()}");
        }
    }
public function execute(ProcessState $state)
    {
        $statement = $this->initializeStatement($state);

        if (false === $statement->execute()) {
            throw new \RuntimeException("Error while executing query: {$statement->errorInfo()}");
        }
    }
@param ProcessState $state

@throws \InvalidArgumentException
@throws \Symfony\Component\OptionsResolver\Exception\ExceptionInterface
@throws \Doctrine\DBAL\DBALException