diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2019-06-03 13:07:22 -0400 |
---|---|---|
committer | KevinOConnor <kevin@koconnor.net> | 2019-06-06 10:08:58 -0400 |
commit | 1fd490ddf94b874088eee5a96f3767333d76fdd3 (patch) | |
tree | a965591c2e0b910a96cbbd8ad3493051efbfe606 /klippy/extras/bltouch.py | |
parent | 67964e71f17df13e03a0aaa1a6dcd6c9253da97d (diff) | |
download | kutter-1fd490ddf94b874088eee5a96f3767333d76fdd3.tar.gz kutter-1fd490ddf94b874088eee5a96f3767333d76fdd3.tar.xz kutter-1fd490ddf94b874088eee5a96f3767333d76fdd3.zip |
probe: No need to re-raise an EndstopError
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'klippy/extras/bltouch.py')
-rw-r--r-- | klippy/extras/bltouch.py | 4 |
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." |