Skip to content

Commit

Permalink
improve error on local EL blobs lookup
Browse files Browse the repository at this point in the history
  • Loading branch information
tbenr committed Nov 6, 2024
1 parent cedae8a commit 9012579
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
package tech.pegasys.teku.statetransition.util;

import static com.google.common.base.Preconditions.checkArgument;
import static tech.pegasys.teku.infrastructure.exceptions.ExceptionUtil.getRootCauseMessage;
import static tech.pegasys.teku.infrastructure.time.TimeUtilities.secondsToMillis;
import static tech.pegasys.teku.statetransition.blobs.BlobSidecarManager.RemoteOrigin.LOCAL_EL;
import static tech.pegasys.teku.statetransition.blobs.BlobSidecarManager.RemoteOrigin.LOCAL_PROPOSAL;
Expand Down Expand Up @@ -511,7 +512,8 @@ private BlockBlobSidecarsTracker internalOnNewBlock(
.finish(
error ->
LOG.error(
"An error occurred while attempting to fetch blobs via local EL"));
"An error occurred while attempting to fetch blobs via local EL: {}",
getRootCauseMessage(error)));
}
}
});
Expand Down

0 comments on commit 9012579

Please sign in to comment.