summaryrefslogtreecommitdiffstats
path: root/lib/private/legacy
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2021-02-01 14:56:56 +0100
committerMorris Jobke <hey@morrisjobke.de>2021-03-18 08:45:17 +0100
commit9e3775618bde7c0bf57fa7248e9a7dc2dbb47f4d (patch)
tree4749233c246458fd57b0b33c2447265a11263a3f /lib/private/legacy
parent9135a42781f52e9853cd5a8c831cb6cc2fcdd7f5 (diff)
downloadnextcloud-server-9e3775618bde7c0bf57fa7248e9a7dc2dbb47f4d.tar.gz
nextcloud-server-9e3775618bde7c0bf57fa7248e9a7dc2dbb47f4d.zip
log full expection during repair step
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'lib/private/legacy')
-rw-r--r--lib/private/legacy/OC_App.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/private/legacy/OC_App.php b/lib/private/legacy/OC_App.php
index d48d6c40810..aeaaf3bf1ea 100644
--- a/lib/private/legacy/OC_App.php
+++ b/lib/private/legacy/OC_App.php
@@ -61,6 +61,7 @@ use OCP\App\ManagerEvent;
use OCP\AppFramework\QueryException;
use OCP\Authentication\IAlternativeLogin;
use OCP\ILogger;
+use Psr\Log\LoggerInterface;
/**
* This class manages the apps. It allows them to register and integrate in the
@@ -1041,7 +1042,7 @@ class OC_App {
$dispatcher = OC::$server->getEventDispatcher();
// load the steps
- $r = new Repair([], $dispatcher);
+ $r = new Repair([], $dispatcher, \OC::$server->get(LoggerInterface::class));
foreach ($steps as $step) {
try {
$r->addStep($step);