feat: add filename to error message when yaml file is invalid #799

Merged
decentral1se merged 1 commits from p4u1/abra:improve-error-message into main 2026-03-20 15:09:33 +00:00
Owner

Before:
FATA <internal/validate.go:84> unable to validate recipe: yaml: line 3: did not find expected key

After:
FATA <internal/validate.go:84> unable to validate recipe: /recipes/monitoring-ng/compose.grafana-oidc.yml: yaml: line 3: did not find expected key

Before: FATA <internal/validate.go:84> unable to validate recipe: yaml: line 3: did not find expected key After: FATA <internal/validate.go:84> unable to validate recipe: <redacted>/recipes/monitoring-ng/compose.grafana-oidc.yml: yaml: line 3: did not find expected key
p4u1 added 1 commit 2026-03-20 13:44:34 +00:00
feat: add filename to error message when yaml file is invalid
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
e04a1e15c4
Before:
FATA <internal/validate.go:84> unable to validate recipe: yaml: line 3: did not find expected key

After:
FATA <internal/validate.go:84> unable to validate recipe: <redacted>/recipes/monitoring-ng/compose.grafana-oidc.yml: yaml: line 3: did not find expected key
decentral1se approved these changes 2026-03-20 15:09:21 +00:00
decentral1se merged commit e04a1e15c4 into main 2026-03-20 15:09:33 +00:00
decentral1se added this to the Abra "next" project 2026-03-20 15:09:36 +00:00
decentral1se moved this to Done in Abra "next" on 2026-03-20 15:09:42 +00:00
Sign in to join this conversation.
No Reviewers
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: toolshed/abra#799
No description provided.