Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion x/epoch/types/hooks.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ func (h MultiEpochHooks) BeforeEpochStart(ctx sdk.Context, epoch Epoch) {

func panicCatchingEpochHook(ctx sdk.Context, hookFn func(sdk.Context, Epoch), epoch Epoch) {
defer utils.PanicHandler(func(r any) {
utils.LogPanicCallback(ctx, r)
utils.LogPanicCallback(ctx, r)(r)
})()

// cache the context and only write if no panic (which is caught above)
Expand Down