From c3a75f85734530ab1a870515469c8b0b2bcc667a Mon Sep 17 00:00:00 2001 From: "dorian.hodin" Date: Mon, 6 Mar 2023 14:11:48 +0100 Subject: [PATCH] Try to make API work again --- Source/API/script/ExceptionHandle/PDOError.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Source/API/script/ExceptionHandle/PDOError.php b/Source/API/script/ExceptionHandle/PDOError.php index 9a3295d..4421ac4 100644 --- a/Source/API/script/ExceptionHandle/PDOError.php +++ b/Source/API/script/ExceptionHandle/PDOError.php @@ -13,7 +13,8 @@ class PDOError extends HttpSpecializedException { public function __construct(ServerRequestInterface $request,string $message, ?Throwable $previous = null) { - parent::__construct($request, $message,$previous); + $this->message = $message; + parent::__construct($request, $previous); } } \ No newline at end of file