Log error instead of panicking when unable to delete expiry queue entry
All checks were successful
Integration Tests / test-integration (pull_request) Successful in 3m5s
Build / build (pull_request) Successful in 3m18s
E2E Tests / test-e2e (pull_request) Successful in 5m2s
Unit Tests / test-unit (pull_request) Successful in 2m8s
SDK Tests / sdk_tests_nameservice_expiry (pull_request) Successful in 8m51s
SDK Tests / sdk_tests (pull_request) Successful in 8m41s
SDK Tests / sdk_tests_auctions (pull_request) Successful in 14m2s
All checks were successful
Integration Tests / test-integration (pull_request) Successful in 3m5s
Build / build (pull_request) Successful in 3m18s
E2E Tests / test-e2e (pull_request) Successful in 5m2s
Unit Tests / test-unit (pull_request) Successful in 2m8s
SDK Tests / sdk_tests_nameservice_expiry (pull_request) Successful in 8m51s
SDK Tests / sdk_tests (pull_request) Successful in 8m41s
SDK Tests / sdk_tests_auctions (pull_request) Successful in 14m2s
This commit is contained in:
parent
9682865d77
commit
a4c087fcf0
@ -114,11 +114,8 @@ func (rk RecordKeeper) OnAuctionWinnerSelected(ctx sdk.Context, auctionId string
|
||||
|
||||
logger(ctx).Info(fmt.Sprintf("Deleting the expiry queue entry: %s", name))
|
||||
if err = rk.k.deleteAuthorityExpiryQueue(ctx, name, authority); err != nil {
|
||||
panic(err)
|
||||
logger(ctx).Error("Unable to delete expiry queue entry", err)
|
||||
}
|
||||
|
||||
// TODO: Set expiry time in authority as the auction's reveals end time
|
||||
// authority.ExpiryTime = auctionObj.RevealsEndTime
|
||||
}
|
||||
|
||||
// Forget about this auction now, we no longer need it.
|
||||
|
Loading…
Reference in New Issue
Block a user