Skip to content

Commit 39c0aa4

Browse files
committed
Fix test error method, thanks to @OrangeFlag for catching this
1 parent bc8cfd2 commit 39c0aa4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

retrier/classifier_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ type wrappedErr struct {
3434
}
3535

3636
func (w wrappedErr) Error() string {
37-
return "there's an error happening during X: " + w.Error()
37+
return "there's an error happening during X: " + w.error.Error()
3838
}
3939

4040
func (w wrappedErr) Unwrap() error {

0 commit comments

Comments
 (0)