aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/extras/bltouch.py
diff options
context:
space:
mode:
Diffstat (limited to 'klippy/extras/bltouch.py')
-rw-r--r--klippy/extras/bltouch.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/klippy/extras/bltouch.py b/klippy/extras/bltouch.py
index 34593ae8..c5e8e6e7 100644
--- a/klippy/extras/bltouch.py
+++ b/klippy/extras/bltouch.py
@@ -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."