manual_probe: No need to re-raise an EndstopError

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor 2019-06-03 13:48:12 -04:00 committed by KevinOConnor
parent b8c7eb40c5
commit df80d96ae6
1 changed files with 2 additions and 2 deletions

View File

@ -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()