From df80d96ae65f9809bbda9df8785f32a012acc689 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Mon, 3 Jun 2019 13:48:12 -0400 Subject: [PATCH] manual_probe: No need to re-raise an EndstopError Signed-off-by: Kevin O'Connor --- klippy/extras/manual_probe.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/klippy/extras/manual_probe.py b/klippy/extras/manual_probe.py index d18d40f3..2fabd4f6 100644 --- a/klippy/extras/manual_probe.py +++ b/klippy/extras/manual_probe.py @@ -90,9 +90,9 @@ class ManualProbeHelper: self.toolhead.move(curpos, self.speed) curpos[2] = z_pos self.toolhead.move(curpos, self.speed) - except homing.EndstopError as e: + except homing.CommandError as e: self.finalize(False) - raise self.gcode.error(str(e)) + raise def report_z_status(self, warn_no_change=False, prev_pos=None): # Get position kin_pos = self.get_kinematics_pos()