probe: No need to re-raise an EndstopError
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
committed by
KevinOConnor
parent
67964e71f1
commit
1fd490ddf9
@@ -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."
|
||||
|
||||
Reference in New Issue
Block a user