From fcc24c6d740cb2666dce775729d5b4d0789df8c6 Mon Sep 17 00:00:00 2001 From: Stefan Bratanov Date: Wed, 4 May 2022 18:01:02 +0300 Subject: [PATCH] fix compilation issue --- .../teku/services/executionlayer/ExecutionLayerService.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/services/executionengine/src/main/java/tech/pegasys/teku/services/executionlayer/ExecutionLayerService.java b/services/executionengine/src/main/java/tech/pegasys/teku/services/executionlayer/ExecutionLayerService.java index 5c100b98b39..05c2fd307d8 100644 --- a/services/executionengine/src/main/java/tech/pegasys/teku/services/executionlayer/ExecutionLayerService.java +++ b/services/executionengine/src/main/java/tech/pegasys/teku/services/executionlayer/ExecutionLayerService.java @@ -126,12 +126,14 @@ private void performBuilderHealthCheck() { } executionLayerChannel .builderStatus() - .thenAccept( + .finish( status -> { if (status.hasFailed()) { LOG.error( "The execution builder has failed health check: {}", status.getErrorMessage()); } - }); + }, + throwable -> + LOG.error("Error while performing the execution builder health check", throwable)); } }