From 067e0aed5dc468008f7d7af64c46fd7f507e7bd9 Mon Sep 17 00:00:00 2001 From: Clemens Schwaighofer Date: Thu, 31 Aug 2023 18:08:34 +0900 Subject: [PATCH] L10n change Exception to RuntimeException --- www/lib/CoreLibs/Language/L10n.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/lib/CoreLibs/Language/L10n.php b/www/lib/CoreLibs/Language/L10n.php index dcf97a74..2703415b 100644 --- a/www/lib/CoreLibs/Language/L10n.php +++ b/www/lib/CoreLibs/Language/L10n.php @@ -254,7 +254,7 @@ class L10n } // if this is still null here, we abort if ($this->l10n === null) { - throw new \Exception( + throw new \RuntimeException( "Could not create CoreLibs\Language\Core\GetTextReader object", E_USER_ERROR );