Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Validata
Validata UI
Commits
d75b9e10
Commit
d75b9e10
authored
Nov 17, 2021
by
Pierre Dittgen
Browse files
Fix task errors are really only task errors
parent
2ca5c892
Changes
1
Hide whitespace changes
Inline
Side-by-side
validata_ui/views.py
View file @
d75b9e10
...
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment