diff --git a/lux/processor/Validator.py b/lux/processor/Validator.py index e0a14c1a..ee360b96 100644 --- a/lux/processor/Validator.py +++ b/lux/processor/Validator.py @@ -108,7 +108,7 @@ def validate_clause(clause): warn_msg += validate_clause(clause) if warn_msg != "" and not suppress_warning: warnings.warn( - "\nThe following issues are ecountered when validating the parsed intent:" + warn_msg, + "\nThe following issues are encountered when validating the parsed intent:" + warn_msg, stacklevel=2, )