Skip to content

Commit

Permalink
chore: add better log - issue processing mutated contracts
Browse files Browse the repository at this point in the history
  • Loading branch information
robcxyz committed Feb 2, 2025
1 parent 1d81949 commit 69d7adc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/transformers/token_transfers.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ func tokenTransfers(blockETL *models.BlockETL) {
// NOTE every token has a different decimal base
tokenDecimalBase, err := service.IconNodeServiceGetTokenDecimalBase(tokenContractAddress)
if err != nil {
zap.S().Fatal(err)
zap.S().Fatalf("Error processing address %s: %v", logETL.Address, err)
}

valueDecimal := utils.StringHexToFloat64(value, tokenDecimalBase)
Expand Down

0 comments on commit 69d7adc

Please sign in to comment.