Skip to content

Commit 352d5e5

Browse files
committed
fix: fix validation errors log message that calls join on a string
1 parent 3a0ef76 commit 352d5e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

samtranslator/parser/parser.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def _validate(self, sam_template, parameter_values):
6363
validation_errors = validator.validate(sam_template)
6464

6565
if validation_errors:
66-
LOG.warn("Template schema validation reported the following errors: " + ", ".join(validation_errors))
66+
LOG.warning("Template schema validation reported the following errors: %s", validation_errors)
6767
except Exception as e:
6868
# Catching any exception and not re-raising to make sure any validation process won't break transform
6969
LOG.exception("Exception from SamTemplateValidator: %s", e)

0 commit comments

Comments
 (0)