fix: error messages

This commit is contained in:
Mohamed Sohail 2022-05-19 10:27:51 +03:00
parent f0690d62be
commit eb05761a51
Signed by: kamikazechaser
GPG Key ID: 7DD45520C01CD85D

View File

@ -47,15 +47,15 @@ func init() {
}
if err := loadProvider(conf.Chain.RpcProvider); err != nil {
log.Fatal().Err(err).Msg("failed to connect to postgres")
log.Fatal().Err(err).Msg("failed to connect to rpc endpoint")
}
if err := loadCicNet(w3.A(conf.Chain.TokenRegistry)); err != nil {
log.Fatal().Err(err).Msg("failed to connect to postgres")
log.Fatal().Err(err).Msg("failed to load cicnet")
}
if err := loadBatchBalance(w3.A(conf.Chain.BalanceResolver)); err != nil {
log.Fatal().Err(err).Msg("failed to connect to postgres")
log.Fatal().Err(err).Msg("failed to load balance resolver")
}
if err := parseRedis(conf.Db.Redis); err != nil {