Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: wrap errors returned by JSON unmarshal
Currently `%v` is used inside an `Errorf` call, this means the original errors is lost and cannot be unwrapped to. By changing it to `%w` the error is preserved and can be retrieved with `errors.As`.
- Loading branch information