Skip to content

Commit

Permalink
Update abci.go
Browse files Browse the repository at this point in the history
  • Loading branch information
Segfaultd committed Sep 28, 2023
1 parent df36072 commit 7d0f7ff
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions x/icqueries/keeper/abci.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ func (k *Keeper) EndBlocker(ctx sdk.Context) {
if query.HasTimedOut(ctx.BlockTime()) {
// Try to invoke the timeout query, but continue in case of failure (panicking here is heavily dangerous)
if err := k.HandleQueryTimeout(ctx, nil, query); err != nil {
logger.Error(fmt.Sprintf("Error encountered while handling query timeout : %v", err.Error()))
continue
}
// If everything went fine, just delete the query data
Expand Down

0 comments on commit 7d0f7ff

Please sign in to comment.