diff options
Diffstat (limited to 'core/ajax')
-rw-r--r-- | core/ajax/update.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/ajax/update.php b/core/ajax/update.php index af604299169..22be2a4f60e 100644 --- a/core/ajax/update.php +++ b/core/ajax/update.php @@ -207,6 +207,10 @@ if (\OCP\Util::needUpgrade()) { try { $updater->upgrade(); } catch (\Exception $e) { + \OC::$server->getLogger()->logException($e, [ + 'level' => \OCP\Util::ERROR, + 'app' => 'update', + ]); $eventSource->send('failure', get_class($e) . ': ' . $e->getMessage()); $eventSource->close(); exit(); |