Remove unsecure string from error message
[MAILPOET-3296]
This commit is contained in:
committed by
Veljko V
parent
703fbe53a8
commit
16a0d54a31
@@ -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) {
|
||||
|
Reference in New Issue
Block a user