1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-11-23 22:36:32 +02:00

Desktop: Fixes #9985: Filter Sync Target Info Logs (#10014)

This commit is contained in:
Sagnik Mandal
2024-03-02 21:27:29 +05:30
committed by GitHub
parent f6c7213f69
commit 9a2a251eec
3 changed files with 105 additions and 3 deletions

View File

@@ -451,7 +451,7 @@ export default class Synchronizer {
try {
let remoteInfo = await fetchSyncInfo(this.api());
logger.info('Sync target remote info:', remoteInfo);
logger.info('Sync target remote info:', remoteInfo.filterSyncInfo());
eventManager.emit(EventName.SessionEstablished);
let syncTargetIsNew = false;
@@ -471,8 +471,7 @@ export default class Synchronizer {
if (appVersion !== 'unknown') checkIfCanSync(remoteInfo, appVersion);
let localInfo = await localSyncInfo();
logger.info('Sync target local info:', localInfo);
logger.info('Sync target local info:', localInfo.filterSyncInfo());
localInfo = await this.setPpkIfNotExist(localInfo, remoteInfo);