Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion samtranslator/parser/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def _validate(self, sam_template, parameter_values):
validation_errors = validator.validate(sam_template)

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