filename reference in error output
- Dominant language
- Go
- Stars
- 1.1k
- Forks
- 134
- PR merge metrics
- No merged PRs in 30d
Description
**What steps did you take:**
Deploying a set of spec files where one of them has an error. No idea which one...
**What happened:**
There is no reference in the error message to the file or even line to be able to trace back the issue.
```
kapp: Error: Trying to apply empty set of resources will result in deletion of resources on cluster. Refusing to continue unless --dangerous-allow-empty-list-of-resources is specified.
```
or:
```
╰─➤ kapp app-group deploy -g all -n default --directory kappsvc -c
kapp: Error: error unmarshaling JSON: json: cannot unmarshal string into Go value of type map[string]interface {}
```
**What did you expect:**
like kubectl reference the filename and the line where this problem occurs
**Environment:**
- kapp version 0.50.0
- OS Ubuntu 22.04
- Kubernetes version 1.22
---
Vote on this request
This is an invitation to the community to vote on issues, to help us prioritize our backlog. Use the "smiley face" up to the right of this comment to vote.
👍 "I would like to see this addressed as soon as possible"
👎 "There are other more important things to focus on right now"
We are also happy to receive and review Pull Requests if you want to help working on this issue.
Contributor guide
Assessment
This issue has not been assessed yet.