diff --git a/klippy/extras/z_tilt.py b/klippy/extras/z_tilt.py index ef69c0e6..8be25e3d 100644 --- a/klippy/extras/z_tilt.py +++ b/klippy/extras/z_tilt.py @@ -94,13 +94,13 @@ class RetryHelper: if self.max_retries == 0: return error = max(z_positions) - min(z_positions) - if self.check_increase(error): - raise self.gcode.error("Retries aborting: %s is increasing. %s" - % (self.value_label, self.error_msg_extra)) self.gcode.respond_info( "Retries: %d/%d %s: %0.6f tolerance: %0.6f" % ( self.current_retry, self.max_retries, self.value_label, error, self.retry_tolerance)) + if self.check_increase(error): + raise self.gcode.error("Retries aborting: %s is increasing. %s" + % (self.value_label, self.error_msg_extra)) if error <= self.retry_tolerance: return "done" self.current_retry += 1