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 1cc9994ae..ebd5f47a7 100644
--- a/appinfo/app.php
+++ b/appinfo/app.php
@@ -25,6 +25,8 @@ $config->registerHooks();
try {
$config->testDependencies();
} catch(\OCA\News\Config\DependencyException $e) {
- $container->getLogger()->log($e->getMessage());
+ $logger = $container->getLogger();
+ $params = $container->getLoggerParameters();
+ $logger->warn($e->getMessage(), $params);
}