Skip to content

Commit

Permalink
Improve reason
Browse files Browse the repository at this point in the history
  • Loading branch information
jochenchrist committed Dec 19, 2024
1 parent 119a400 commit feec6a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion datacontract/engines/soda/check_soda_execute.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,4 +183,4 @@ def update_reason(check, c):
# print(check.reason)
break # Exit the loop once the desired block is found
if "fail" in c["diagnostics"]:
check.reason = f"Got: {c['diagnostics']['value']} Expected: {c['diagnostics']['fail']}"
check.reason = f"Value: {c['diagnostics']['value']} Fails`: {c['diagnostics']['fail']}"

0 comments on commit feec6a7

Please sign in to comment.