From 3d71e2dcc79387f0002af628f658945efc0c8ec0 Mon Sep 17 00:00:00 2001 From: Chason Deshotel Date: Wed, 8 Jan 2025 13:18:42 -0600 Subject: [PATCH] Fix inaccurate error message --- klippy/stepper.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/klippy/stepper.py b/klippy/stepper.py index 05e56cca4327..18a023887f3a 100644 --- a/klippy/stepper.py +++ b/klippy/stepper.py @@ -329,8 +329,9 @@ def __init__(self, config, need_position_minmax=True, if (self.position_endstop < self.position_min or self.position_endstop > self.position_max): raise config.error( - "position_endstop in section '%s' must be between" - " position_min and position_max" % config.get_name()) + "position_endstop in section '%s' must not be outside the range" + " specified by position_min and position_max." + % config.get_name()) # Homing mechanics self.homing_speed = config.getfloat('homing_speed', 5.0, above=0.) self.second_homing_speed = config.getfloat(