From 52a28c78a7f76caba11dfbfb4e19567b397a5ec4 Mon Sep 17 00:00:00 2001 From: Zef Hemel Date: Tue, 1 Aug 2023 21:34:24 +0200 Subject: [PATCH] Reduce amount of sync related log messages a bit --- common/spaces/sync.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/common/spaces/sync.ts b/common/spaces/sync.ts index e84eb85..d90b280 100644 --- a/common/spaces/sync.ts +++ b/common/spaces/sync.ts @@ -42,12 +42,13 @@ export class SpaceSync { isSyncCandidate = this.options.isSyncCandidate, ): Promise { let operations = 0; - console.log("[sync]", "Fetching snapshot from primary"); + console.log("[sync]", "Performing a full sync cycle..."); + + // Not try-catching this because this one's local and shouldn't fail (famous last words) const primaryAllPages = this.syncCandidates( await this.primary.fetchFileList(), ); - console.log("[sync]", "Fetching snapshot from secondary"); try { const secondaryAllPages = this.syncCandidates( await this.secondary.fetchFileList(),