fix: enhance logging message in image validator for better clarity

1 parent b3e9a557
......@@ -459,7 +459,7 @@ img_exts = ['.png', '.jpg', '.pdf', '.jpeg']
def image_validator(node, value):
log.debug(value)
log.debug(f"Image Validator: {value}")
ext = get_ext(value["filename"])
if ext not in img_exts:
raise colander.Invalid(node,
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!