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 <rogpeppe@gmail.com> Change-Id: I43e49cde84319de9a20a395eea46664831e8a470 Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1197984 Unity-Result: CUE porcuepine <cue.porcuepine@gmail.com> TryBot-Result: CUEcueckoo <cueckoo@cuelang.org> Reviewed-by: Daniel Martí <mvdan@mvdan.cc>
- Loading branch information