Skip to content

Commit

Permalink
Update ethereum/eth/src/main/java/org/hyperledger/besu/ethereum/eth/s…
Browse files Browse the repository at this point in the history
…ync/fastsync/FastSyncDownloader.java

Co-Authored-By: mbaxter <[email protected]>
  • Loading branch information
matkt and mbaxter authored Feb 26, 2020
1 parent 8438dac commit f42b755
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ private CompletableFuture<FastSyncState> handleFailure(final Throwable error) {
"Fast sync was unable to download the world state. Retrying with a new pivot block.");
return start(FastSyncState.EMPTY_SYNC_STATE);
} else {
LOG.error("Encountered an unexpected error during fast sync. Restarting fast sync.");
LOG.error("Encountered an unexpected error during fast sync. Restarting fast sync in " + FAST_SYNC_RETRY_DELAY + " seconds.", error);
return fastSyncActions.scheduleFutureTask(
() -> start(FastSyncState.EMPTY_SYNC_STATE), Duration.ofSeconds(FAST_SYNC_RETRY_DELAY));
}
Expand Down

0 comments on commit f42b755

Please sign in to comment.