added token symbol to UpdateMethodTypeStatic log
Mikelle mikhwall@gmail.com
Thu, 25 Mar 2021 21:42:50 +0300
1 files changed,
2 insertions(+),
1 deletions(-)
jump to
M
priceupdater/priceupdater.go
→
priceupdater/priceupdater.go
@@ -174,7 +174,8 @@ tokenPrice, err = p.getTokenPriceCoingecko(ctx, token.Addr)
case UpdateMethodTypeStatic: tokenPrice = token.StaticValue if tokenPrice == float64(0) { - log.Warn("token price is set to 0. Probably StaticValue is not put in the configuration file") + log.Warn("token price is set to 0. Probably StaticValue is not put in the configuration file,", + "token", token.Symbol) } case UpdateMethodTypeIgnore: continue