diff options
author | Robin Appelman <robin@icewind.nl> | 2021-02-01 14:56:56 +0100 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2021-03-18 08:45:17 +0100 |
commit | 9e3775618bde7c0bf57fa7248e9a7dc2dbb47f4d (patch) | |
tree | 4749233c246458fd57b0b33c2447265a11263a3f /lib/private/legacy | |
parent | 9135a42781f52e9853cd5a8c831cb6cc2fcdd7f5 (diff) | |
download | nextcloud-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.php | 3 |
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); |