summaryrefslogtreecommitdiffstats
path: root/lib/private/Migration
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/Migration
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/Migration')
-rw-r--r--lib/private/Migration/BackgroundRepair.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/private/Migration/BackgroundRepair.php b/lib/private/Migration/BackgroundRepair.php
index 5b8c7875ab7..749a1a1bc69 100644
--- a/lib/private/Migration/BackgroundRepair.php
+++ b/lib/private/Migration/BackgroundRepair.php
@@ -33,6 +33,7 @@ use OC\Repair;
use OC_App;
use OCP\BackgroundJob\IJobList;
use OCP\ILogger;
+use Psr\Log\LoggerInterface;
use Symfony\Component\EventDispatcher\EventDispatcherInterface;
/**
@@ -92,7 +93,7 @@ class BackgroundRepair extends TimedJob {
}
$step = $argument['step'];
- $repair = new Repair([], $this->dispatcher);
+ $repair = new Repair([], $this->dispatcher, \OC::$server->get(LoggerInterface::class));
try {
$repair->addStep($step);
} catch (\Exception $ex) {