L10n change Exception to RuntimeException

This commit is contained in:
Clemens Schwaighofer
2023-08-31 18:08:34 +09:00
parent 545de5c4a1
commit 067e0aed5d

View File

@@ -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
);