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(
125125) {
126126 maxBorrowable , err := marginService .QueryMarginAssetMaxBorrowable (ctx , market .BaseCurrency )
127127 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 )
129129 } else {
130130 log .Infof ("updating margin base asset %s max borrowable amount: %f" , market .BaseCurrency , maxBorrowable .Float64 ())
131131 e .marginBaseMaxBorrowable = maxBorrowable
132132 }
133133
134134 maxBorrowable , err = marginService .QueryMarginAssetMaxBorrowable (ctx , market .QuoteCurrency )
135135 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 )
137137 } else {
138138 log .Infof ("updating margin quote asset %s max borrowable amount: %f" , market .QuoteCurrency , maxBorrowable .Float64 ())
139139 e .marginQuoteMaxBorrowable = maxBorrowable
You can’t perform that action at this time.
0 commit comments