Skip to content

Commit

Permalink
error->warn
Browse files Browse the repository at this point in the history
  • Loading branch information
aakash4dev committed Jan 27, 2024
1 parent 22578b6 commit 767f7ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions handlers/txns.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ func SaveTxns(client *ethclient.Client, ctx context.Context, ldt *leveldb.DB, tr
if err == nil {
break
} else {
logs.Log.Error(fmt.Sprintf("Failed to get transaction by hash: %s", err))
logs.Log.Error(fmt.Sprintf("Retrying in 2 seconds: %s", err))
logs.Log.Warn(fmt.Sprintf("Failed to get transaction by hash: %s", err))
logs.Log.Warn(fmt.Sprintf("Retrying in 2 seconds: %s", err))
time.Sleep(2 * time.Second)
continue
}
Expand Down

0 comments on commit 767f7ca

Please sign in to comment.