aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Repair.php
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2021-11-30 10:57:49 +0100
committerChristoph Wurst <christoph@winzerhof-wurst.at>2021-11-30 10:57:49 +0100
commitf6b5b1f51945ef083b893ac7a81428603381c1b7 (patch)
tree7b3fe609ebbf5f1076882a1f4409c875f697c867 /lib/private/Repair.php
parentf68ab008118383cf70b02d942c06d0a27f4e15d3 (diff)
downloadnextcloud-server-f6b5b1f51945ef083b893ac7a81428603381c1b7.tar.gz
nextcloud-server-f6b5b1f51945ef083b893ac7a81428603381c1b7.zip
Include previous execption for repair steps that don't exist
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'lib/private/Repair.php')
-rw-r--r--lib/private/Repair.php2
1 files changed, 1 insertions, 1 deletions
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);
}
}