L10n change Exception to RuntimeException
This commit is contained in:
1 parent
545de5c4a1
commit
067e0aed5d
1 file changed
+1
-1
@@ -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
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user