diff options
author | Andrei Ignat <andrei@ignat.se> | 2023-11-22 17:53:38 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-22 11:53:38 -0500 |
commit | ea2f6bc0f544132738c7f052ffcc586fa884a19a (patch) | |
tree | 1305297ef9381f221ea1d2b42148df1a85560d52 | |
parent | bb4711c5d31e8159945f945c662e6668059a174f (diff) | |
download | kutter-ea2f6bc0f544132738c7f052ffcc586fa884a19a.tar.gz kutter-ea2f6bc0f544132738c7f052ffcc586fa884a19a.tar.xz kutter-ea2f6bc0f544132738c7f052ffcc586fa884a19a.zip |
exclude_object: Don't use gcmd.respond_error() (#6407)
gcmd.respond_error() has been deprecated: 61524542d20e50c4866836d6ed23ca03521ffb15
Signed-off-by: Andrei Ignat <andrei@ignat.se>
-rw-r--r-- | klippy/extras/exclude_object.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/klippy/extras/exclude_object.py b/klippy/extras/exclude_object.py index 0a68d9b5..19401279 100644 --- a/klippy/extras/exclude_object.py +++ b/klippy/extras/exclude_object.py @@ -234,7 +234,7 @@ class ExcludeObject: elif current: if not self.current_object: - gcmd.respond_error('There is no current object to cancel') + raise self.gcode.error('There is no current object to cancel') else: self._exclude_object(self.current_object) |