diff --git a/Localization/L11nManager.php b/Localization/L11nManager.php index 7119c9f3e..0f9d6541d 100644 --- a/Localization/L11nManager.php +++ b/Localization/L11nManager.php @@ -158,7 +158,7 @@ final class L11nManager if (!isset($this->language[$code][$module][$translation])) { return 'ERROR'; } - } catch (\Exception $e) { + } catch (\Throwable $e) { FileLogger::getInstance()->warning(FileLogger::MSG_FULL, [ 'message' => 'Undefined translation for \'' . $code . '/' . $module . '/' . $translation . '\'.', ]);