summaryrefslogtreecommitdiffstats
path: root/lib/private/Installer.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/Installer.php')
-rw-r--r--lib/private/Installer.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/private/Installer.php b/lib/private/Installer.php
index 1c6c3915b41..ed654c2b241 100644
--- a/lib/private/Installer.php
+++ b/lib/private/Installer.php
@@ -195,7 +195,10 @@ class Installer {
try {
$this->downloadApp($appId);
} catch (\Exception $e) {
- $this->logger->error($e->getMessage(), ['app' => 'core']);
+ $this->logger->logException($e, [
+ 'level' => \OCP\Util::ERROR,
+ 'app' => 'core',
+ ]);
return false;
}
return OC_App::updateApp($appId);