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:07:22 -04:00
committed by KevinOConnor
parent 67964e71f1
commit 1fd490ddf9
2 changed files with 9 additions and 24 deletions

View File

@@ -68,7 +68,7 @@ class BLTouchEndstopWrapper:
def handle_connect(self):
try:
self.raise_probe()
except homing.EndstopError as e:
except homing.CommandError as e:
logging.warning("BLTouch raise probe error: %s", str(e))
def sync_mcu_print_time(self):
curtime = self.printer.get_reactor().monotonic()
@@ -114,7 +114,7 @@ class BLTouchEndstopWrapper:
try:
self.verify_state(check_start_time, check_end_time,
False, "raise probe")
except homing.EndstopError as e:
except homing.CommandError as e:
if retry >= 2:
raise
msg = "Failed to verify BLTouch probe is raised; retrying."