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(