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

1 Commits

Author SHA1 Message Date
e04a1e15c4 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
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
2026-03-20 14:42:14 +01:00