Skip to content

Commit

Permalink
Merge 87bda6c into 2eddf46
Browse files Browse the repository at this point in the history
  • Loading branch information
nflaig authored Jun 16, 2023
2 parents 2eddf46 + 87bda6c commit c307017
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/beacon-node/src/chain/prepareNextSlot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import {GENESIS_SLOT, ZERO_HASH_HEX} from "../constants/constants.js";
import {Metrics} from "../metrics/index.js";
import {TransitionConfigurationV1} from "../execution/engine/interface.js";
import {ClockEvent} from "../util/clock.js";
import {isQueueErrorAborted} from "../util/queue/index.js";
import {prepareExecutionPayload, getPayloadAttributesForSSE} from "./produceBlock/produceBlockBody.js";
import {IBeaconChain} from "./interface.js";
import {RegenCaller} from "./regen/index.js";
Expand Down Expand Up @@ -172,7 +173,7 @@ export class PrepareNextSlotScheduler {
}
}
} catch (e) {
if (!isErrorAborted(e)) {
if (!isErrorAborted(e) && !isQueueErrorAborted(e)) {
this.metrics?.precomputeNextEpochTransition.count.inc({result: "error"}, 1);
this.logger.error("Failed to run prepareForNextSlot", {nextEpoch, isEpochTransition, prepareSlot}, e as Error);
}
Expand Down

0 comments on commit c307017

Please sign in to comment.