Remove unsecure string from error message

[MAILPOET-3296]
This commit is contained in:
Rostislav Wolny
2020-12-03 12:29:49 +01:00
committed by Veljko V
parent 703fbe53a8
commit 16a0d54a31

View File

@@ -52,7 +52,7 @@ class PDOConnection implements \MailPoetVendor\Doctrine\DBAL\Driver\Connection,
try {
$preparedStatement = $this->connection->prepare($prepareString, $driverOptions);
if ($preparedStatement === false) {
throw new RuntimeException('Unable to prepare PDOStatement for ' . $prepareString);
throw new RuntimeException('Unable to prepare PDOStatement.');
}
return $this->createStatement($preparedStatement);
} catch (\PDOException $exception) {