Browse Source

Include previous execption for repair steps that don't exist

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
pull/29974/head
Christoph Wurst 4 years ago
parent
commit
f6b5b1f519
No known key found for this signature in database GPG Key ID: CC42AC2A7F0E56D8
  1. 2
      lib/private/Repair.php

2
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);
}
}

Loading…
Cancel
Save