We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 548ca61 commit 791c1c1Copy full SHA for 791c1c1
pkg/market/fundmanager.go
@@ -2,6 +2,7 @@ package market
2
3
import (
4
"context"
5
+ "errors"
6
"fmt"
7
"sync"
8
@@ -509,7 +510,7 @@ func (a *fundedAddress) processWithdrawals(withdrawals []*fundRequest) (msgCid c
509
510
if !withdrawalAmt.IsZero() {
511
msg += fmt.Sprintf(" - queued withdrawals (%s)", types.FIL(withdrawalAmt))
512
}
- err := fmt.Errorf(msg)
513
+ err := errors.New(msg)
514
a.debugf("%s", err)
515
req.Complete(cid.Undef, err)
516
continue
0 commit comments