also catch exceptions when loading apps
Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
parent
a0b84bc0fc
commit
be9ab8b879
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue