mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-26 00:35:15 +00:00
fix log message
This commit is contained in:
parent
8aec251a62
commit
4f842c521a
|
@ -191,7 +191,7 @@ func (s *Strategy) checkAndBorrow(ctx context.Context) {
|
|||
})
|
||||
log.Infof("sending borrow request %f %s", toBorrow.Float64(), marginAsset.Asset)
|
||||
if err := s.marginBorrowRepay.BorrowMarginAsset(ctx, marginAsset.Asset, toBorrow); err != nil {
|
||||
log.WithError(err).Errorf("repay error")
|
||||
log.WithError(err).Errorf("borrow error")
|
||||
continue
|
||||
}
|
||||
changed = true
|
||||
|
|
Loading…
Reference in New Issue
Block a user