bed_screws: 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:41:38 -04:00 committed by KevinOConnor
parent 1fd490ddf9
commit b8c7eb40c5
1 changed files with 1 additions and 4 deletions

View File

@ -51,10 +51,7 @@ class BedScrews:
for i in range(len(coord)): for i in range(len(coord)):
if coord[i] is not None: if coord[i] is not None:
curpos[i] = coord[i] curpos[i] = coord[i]
try: toolhead.move(curpos, speed)
toolhead.move(curpos, speed)
except homing.EndstopError as e:
raise self.gcode.error(str(e))
self.gcode.reset_last_position() self.gcode.reset_last_position()
def move_to_screw(self, state, screw): def move_to_screw(self, state, screw):
# Move up, over, and then down # Move up, over, and then down