We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 56d6720 + 4c6913f commit b9a9b1cCopy full SHA for b9a9b1c
yaml.go
@@ -92,7 +92,7 @@ func jsonUnmarshal(reader io.Reader, obj interface{}, opts ...JSONOpt) error {
92
d = opt(d)
93
}
94
if err := d.Decode(&obj); err != nil {
95
- return fmt.Errorf("while decoding JSON: %v", err)
+ return fmt.Errorf("while decoding JSON: %w", err)
96
97
return nil
98
0 commit comments