Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
When running the attach attestation command with empty file input the cli returns hard to understand output like: ``` file name too long Using payload from: filename.json Error: unexpected end of JSON input main.go:46: error during command execution: unexpected end of JSON input ``` By some investigation I found out that attestation file was empty, yes this is a user-error, so I recon it could be more informative as it throws the error while parsing the input making the real error a bit shaded. Signed-off-by: ybelMekk <youssef.bel.mekki@nav.no>
- Loading branch information