aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/extras/manual_stepper.py
diff options
context:
space:
mode:
Diffstat (limited to 'klippy/extras/manual_stepper.py')
-rw-r--r--klippy/extras/manual_stepper.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/klippy/extras/manual_stepper.py b/klippy/extras/manual_stepper.py
index 01758d99..7cbbe806 100644
--- a/klippy/extras/manual_stepper.py
+++ b/klippy/extras/manual_stepper.py
@@ -89,12 +89,12 @@ class ManualStepper:
for mcu_endstop, name in endstops:
try:
mcu_endstop.home_finalize()
- except homing.EndstopError as e:
+ except homing.CommandError as e:
if error is None:
error = str(e)
self.sync_print_time()
if error is not None:
- raise self.gcode.error(error)
+ raise homing.CommandError(error)
cmd_MANUAL_STEPPER_help = "Command a manually configured stepper"
def cmd_MANUAL_STEPPER(self, params):
if 'ENABLE' in params: