From f6b5b1f51945ef083b893ac7a81428603381c1b7 Mon Sep 17 00:00:00 2001 From: Christoph Wurst Date: Tue, 30 Nov 2021 10:57:49 +0100 Subject: [PATCH] Include previous execption for repair steps that don't exist Signed-off-by: Christoph Wurst --- lib/private/Repair.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/private/Repair.php b/lib/private/Repair.php index ea118aa1a4c..408d0f1b7aa 100644 --- a/lib/private/Repair.php +++ b/lib/private/Repair.php @@ -149,7 +149,7 @@ class Repair implements IOutput { throw new \Exception("Repair step '$repairStep' can't be instantiated: " . $e->getMessage(), 0, $e); } } else { - throw new \Exception("Repair step '$repairStep' is unknown"); + throw new \Exception("Repair step '$repairStep' is unknown", 0, $e); } }