aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2017-12-03 19:30:49 -0500
committerKevin O'Connor <kevin@koconnor.net>2017-12-06 18:35:51 -0500
commit80f23441dddf4f728f840d7f3b2bc4ddb42f3219 (patch)
tree934e9baafdac89ecad98d53b65462d2fd707fa44 /scripts
parent3a2d16abb39f541df82489bf5b587d31077c380f (diff)
downloadkutter-80f23441dddf4f728f840d7f3b2bc4ddb42f3219.tar.gz
kutter-80f23441dddf4f728f840d7f3b2bc4ddb42f3219.tar.xz
kutter-80f23441dddf4f728f840d7f3b2bc4ddb42f3219.zip
gcode: Simplify exception handling
Translate caught exceptions into a gcode.error() exception. This way there is one standard place to invoke respond_error(). Also, always reset the last_position on a handled error. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions