Skip to content

Commit

Permalink
feat: surpressing error logs
Browse files Browse the repository at this point in the history
  • Loading branch information
praetoriansentry committed Dec 20, 2024
1 parent 7de0bfb commit cfd970c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions cmd/ulxly/ulxly.go
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,11 @@ func logAndReturnJsonError(cmd *cobra.Command, client *ethclient.Client, tx *typ
errLog = errLog.Err(callErr)
}

if errCode, isValid := jsonError.Data.(string); isValid && errCode == "0x646cf558" {
// I don't want to bother with the additional error logging for previously claimed deposits
return err
}

errLog.Msg("Unable to interact with bridge contract")

return err
Expand Down

0 comments on commit cfd970c

Please sign in to comment.