diff options
-rw-r--r-- | appinfo/app.php | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/appinfo/app.php b/appinfo/app.php index 8522d8f60..077d0b7c4 100644 --- a/appinfo/app.php +++ b/appinfo/app.php @@ -30,11 +30,5 @@ $config->registerNavigation(); $config->registerBackgroundJobs(); $config->registerHooks(); -// check for correct app dependencies -try { - $config->testDependencies(); -} catch(DependencyException $e) { - $logger = $container->getLogger(); - $params = $container->getLoggerParameters(); - $logger->emergency($e->getMessage(), $params); -} +// check for correct app dependencies and fail if possible +$config->testDependencies(); |