From 4933b2a04750c7976337f93db1cfae9946595f0f Mon Sep 17 00:00:00 2001 From: Ibrahim BinAlshikh Date: Mon, 30 Oct 2023 16:42:55 +0300 Subject: [PATCH] Update JsonDriver.php --- webfiori/framework/config/JsonDriver.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/webfiori/framework/config/JsonDriver.php b/webfiori/framework/config/JsonDriver.php index d2f3785e..e457b380 100644 --- a/webfiori/framework/config/JsonDriver.php +++ b/webfiori/framework/config/JsonDriver.php @@ -1,10 +1,10 @@ get($name); if ($val === null) { - throw new Exception('The property "'.$name.'" of the connection "'.$connName.'" is missing.'); + throw new InitializationException('The property "'.$name.'" of the connection "'.$connName.'" is missing.'); } return $val; }