diff options
Diffstat (limited to 'lib/private/legacy/app.php')
-rw-r--r-- | lib/private/legacy/app.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/legacy/app.php b/lib/private/legacy/app.php index ab52a68caeb..9c7e6001e5e 100644 --- a/lib/private/legacy/app.php +++ b/lib/private/legacy/app.php @@ -152,7 +152,7 @@ class OC_App { \OC::$server->getEventLogger()->start('load_app_' . $app, 'Load app: ' . $app); try { self::requireAppFile($app); - } catch (Error $ex) { + } catch (Throwable $ex) { \OC::$server->getLogger()->logException($ex); if (!\OC::$server->getAppManager()->isShipped($app)) { // Only disable apps which are not shipped |