Skip to content

Commit

Permalink
Use debug level when passing gossip attestations to forkchoice error
Browse files Browse the repository at this point in the history
  • Loading branch information
twoeths committed Jan 27, 2022
1 parent a00ec5c commit 98be032
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/lodestar/src/network/gossip/handlers/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -173,8 +173,8 @@ export function getGossipHandlers(modules: ValidatorFnsModules, options: GossipH
try {
chain.forkChoice.onAttestation(indexedAttestation);
} catch (e) {
logger.error(
"Error adding aggregated attestation to forkchoice",
logger.debug(
"Error adding gossip aggregated attestation to forkchoice",
{slot: aggregatedAttestation.data.slot},
e as Error
);
Expand Down Expand Up @@ -218,7 +218,7 @@ export function getGossipHandlers(modules: ValidatorFnsModules, options: GossipH
try {
chain.forkChoice.onAttestation(indexedAttestation);
} catch (e) {
logger.error("Error adding unaggregated attestation to forkchoice", {subnet}, e as Error);
logger.debug("Error adding gossip unaggregated attestation to forkchoice", {subnet}, e as Error);
}
}
},
Expand Down

0 comments on commit 98be032

Please sign in to comment.