From 8076d9a03ccb30d724a7c27e7d85ab926d091d89 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9Cur=D0=B0d=20H=D0=B0mz=D0=B0?= Date: Thu, 29 Aug 2024 09:05:20 +0300 Subject: [PATCH] chore: change request fragments action logs --- .../sync/warpsync/action/RequestFragmentsAction.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/limechain/sync/warpsync/action/RequestFragmentsAction.java b/src/main/java/com/limechain/sync/warpsync/action/RequestFragmentsAction.java index f5df404e3..857dd0987 100644 --- a/src/main/java/com/limechain/sync/warpsync/action/RequestFragmentsAction.java +++ b/src/main/java/com/limechain/sync/warpsync/action/RequestFragmentsAction.java @@ -56,9 +56,9 @@ public void handle(WarpSyncMachine sync) { throw new MissingObjectException("No response received."); } - log.log(Level.INFO, "Successfully received fragments from peer"); + log.log(Level.INFO, "Successfully received response from peer"); if (resp.getFragments().length == 0) { - log.log(Level.WARNING, "No fragments received."); + log.log(Level.WARNING, "The response contained no fragments - the peer is up to date."); return; } warpSyncState.setWarpSyncFragmentsFinished(resp.isFinished());