Skip to content

Commit

Permalink
Merge pull request #10841 from nextcloud/load-app-catch-exceptions
Browse files Browse the repository at this point in the history
also catch exceptions when loading apps
  • Loading branch information
MorrisJobke authored Aug 24, 2018
2 parents 7bc9b9a + be9ab8b commit 48f5cbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/private/legacy/app.php
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ public static function loadApp(string $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
Expand Down

0 comments on commit 48f5cbe

Please sign in to comment.