Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
internal/mod/modpkgload: propagate CUE syntax error
When there's a syntax error reading CUE syntax, the error details were being hidden. This resulted in issue #3281. Using `%w` instead of `%v` fixes this. Fixes #3281. Signed-off-by: Roger Peppe <[email protected]> Change-Id: I43e49cde84319de9a20a395eea46664831e8a470 Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1197984 Unity-Result: CUE porcuepine <[email protected]> TryBot-Result: CUEcueckoo <[email protected]> Reviewed-by: Daniel Martí <[email protected]>
- Loading branch information