Skip to content

Commit

Permalink
detailed logs
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasmenendez committed Jun 28, 2024
1 parent 006d896 commit c15cf65
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions api/strategies.go
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,11 @@ func (capi *census3API) getStrategies(msg *api.APIdata, ctx *httprouter.HTTPCont
}
for _, strategyToken := range strategyTokens {
if strategyToken.TokenAlias == "" {
log.Warnw("no token alias",
"strategyID", strategy.ID,
"tokenID", strategyToken.TokenID,
"chainID", strategyToken.ChainID,
"externalID", strategyToken.ExternalID)
skipMalformed = true
break
}
Expand Down

0 comments on commit c15cf65

Please sign in to comment.