summaryrefslogtreecommitdiffstats
path: root/appinfo/app.php
diff options
context:
space:
mode:
Diffstat (limited to 'appinfo/app.php')
-rw-r--r--appinfo/app.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/appinfo/app.php b/appinfo/app.php
index e50525a5c..cacd0637d 100644
--- a/appinfo/app.php
+++ b/appinfo/app.php
@@ -13,6 +13,8 @@
namespace OCA\News\AppInfo;
+use \OCA\News\Config\DependencyException;
+
$container = new Application();
$config = $container->getAppConfig();
@@ -24,7 +26,7 @@ $config->registerHooks();
// check for correct app dependencies
try {
$config->testDependencies();
-} catch(\OCA\News\Config\DependencyException $e) {
+} catch(DependencyException $e) {
$logger = $container->getLogger();
$params = $container->getLoggerParameters();
$logger->emergency($e->getMessage(), $params);