diff --git a/soda/core/soda/scan.py b/soda/core/soda/scan.py index e116a539e..dea8c03cb 100644 --- a/soda/core/soda/scan.py +++ b/soda/core/soda/scan.py @@ -567,7 +567,7 @@ def execute(self) -> int: checks_warn_count = self.__log_checks(CheckOutcome.WARN) warn_text = "warning" if checks_warn_count == 1 else "warnings" checks_fail_count = self.__log_checks(CheckOutcome.FAIL) - fail_text = "failure" if checks_warn_count == 1 else "failures" + fail_text = "failure" if checks_fail_count == 1 else "failures" error_count = len(self.get_error_logs()) error_text = "error" if error_count == 1 else "errors" self.__log_checks(None)