Skip to content
Merged
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
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,20 @@ class ProofGeneratingConflationHandlerImpl(
vertx = vertx,
backoffDelay = config.conflationAndProofGenerationRetryInterval,
exceptionConsumer = {
log.error("Conflation and proof creation flow failed!", it)
// log failure as warning, but keeps on retrying...
log.warn(
"conflation and proof creation flow failed batch={} errorMessage={}",
blockIntervalString,
it.message
)
}
) {
conflationToProofCreation(conflation)
}
}.getOrElse { error -> SafeFuture.failedFuture<Unit>(error) }
.whenException { th ->
log.error(
"Traces conflation or proof failed: batch={} errorMessage={}",
"traces conflation or proof request failed: batch={} errorMessage={}",
blockIntervalString,
th.message,
th
Expand All @@ -60,8 +65,8 @@ class ProofGeneratingConflationHandlerImpl(
return tracesProductionCoordinator
.conflateExecutionTraces(blockNumbersAndHash)
.whenException { th ->
log.error(
"Traces conflation failed: batch={} errorMessage={}",
log.debug(
"traces conflation failed: batch={} errorMessage={}",
conflation.conflationResult.intervalString(),
th.message,
th
Expand All @@ -79,7 +84,7 @@ class ProofGeneratingConflationHandlerImpl(
log.info("execution proof generated: batch={}", blockIntervalString)
}
.whenException { th ->
log.error(
log.debug(
"execution proof failure: batch={} errorMessage={}",
blockIntervalString,
th.message,
Expand Down