Commit d75b9e10 authored by Pierre Dittgen's avatar Pierre Dittgen
Browse files

Fix task errors are really only task errors

parent 2ca5c892
......@@ -426,7 +426,7 @@ def validate(schema_instance: SchemaInstance, validata_resource: ValidataResourc
compute_validation_form_url(schema_instance.request_parameters())
)
task_errors = list(iter_task_errors(validata_core_report))
task_errors = list(iter_task_errors(validata_core_report, {"task-error"}))
if task_errors:
err_msg = task_errors[0]["note"]
log.error(err_msg)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment