mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-26 00:35:15 +00:00
max: use error log instead of warning log for convertion
This commit is contained in:
parent
d404b20bd1
commit
f27afac77b
|
@ -295,7 +295,7 @@ func toGlobalDepositStatus(a max.DepositState) types.DepositStatus {
|
||||||
|
|
||||||
// other states goes to this
|
// other states goes to this
|
||||||
// max.DepositStateSuspect, max.DepositStateSuspended
|
// max.DepositStateSuspect, max.DepositStateSuspended
|
||||||
log.Warnf("unsupported deposit state %q from max exchange", a)
|
log.Errorf("unsupported deposit state %q from max exchange", a)
|
||||||
return types.DepositStatus(a)
|
return types.DepositStatus(a)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user