Skip to content

Commit

Permalink
Improve error message
Browse files Browse the repository at this point in the history
  • Loading branch information
gavv committed Apr 3, 2023
1 parent 278bde6 commit 838e86c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion request.go
Original file line number Diff line number Diff line change
Expand Up @@ -958,7 +958,7 @@ func (r *Request) withPath(opChain *chain, key string, value interface{}) {
opChain.fail(AssertionFailure{
Type: AssertUsage,
Errors: []error{
errors.New("unexpected nil interpol argument"),
fmt.Errorf("unexpected nil interpol argument %q", k),
},
})
} else {
Expand Down

0 comments on commit 838e86c

Please sign in to comment.