File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -125,15 +125,15 @@ func (e *GeneralOrderExecutor) updateMarginAssetMaxBorrowable(
125
125
) {
126
126
maxBorrowable , err := marginService .QueryMarginAssetMaxBorrowable (ctx , market .BaseCurrency )
127
127
if err != nil {
128
- log .WithError (err ).Errorf ("can not query margin base asset %s max borrowable" , market .BaseCurrency )
128
+ log .WithError (err ).Warnf ("can not query margin base asset %s max borrowable" , market .BaseCurrency )
129
129
} else {
130
130
log .Infof ("updating margin base asset %s max borrowable amount: %f" , market .BaseCurrency , maxBorrowable .Float64 ())
131
131
e .marginBaseMaxBorrowable = maxBorrowable
132
132
}
133
133
134
134
maxBorrowable , err = marginService .QueryMarginAssetMaxBorrowable (ctx , market .QuoteCurrency )
135
135
if err != nil {
136
- log .WithError (err ).Errorf ("can not query margin quote asset %s max borrowable" , market .QuoteCurrency )
136
+ log .WithError (err ).Warnf ("can not query margin quote asset %s max borrowable" , market .QuoteCurrency )
137
137
} else {
138
138
log .Infof ("updating margin quote asset %s max borrowable amount: %f" , market .QuoteCurrency , maxBorrowable .Float64 ())
139
139
e .marginQuoteMaxBorrowable = maxBorrowable
You can’t perform that action at this time.
0 commit comments