Skip to content

Commit

Permalink
fix log add error
Browse files Browse the repository at this point in the history
Signed-off-by: Karim TAAM <[email protected]>
  • Loading branch information
matkt committed Feb 26, 2020
1 parent 8438dac commit ecbe0ca
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 ecbe0ca

Please sign in to comment.