This commit is contained in:
Philipp
2023-05-14 11:18:59 +02:00
parent a74c0e86c9
commit 8c2678c82f
3 changed files with 13 additions and 10 deletions

View File

@@ -45,9 +45,8 @@ class DatabaseException extends Exception
*/
public function __construct(string $message, int $code, string $query, Throwable $previous = null)
{
$this->query = $query;
parent::__construct(sprintf('"%s" at "%s"', $message, $query) , $code, $previous);
$this->query = $query;
}
/**