From 82229db7895657a2a34170f41d7745064570eda5 Mon Sep 17 00:00:00 2001 From: Pieter Vander Vennet Date: Fri, 9 Aug 2024 14:44:05 +0200 Subject: [PATCH] Remove spammy messages --- src/Logic/Osm/Changes.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Logic/Osm/Changes.ts b/src/Logic/Osm/Changes.ts index ea809e04e..5c5a9f578 100644 --- a/src/Logic/Osm/Changes.ts +++ b/src/Logic/Osm/Changes.ts @@ -587,6 +587,7 @@ export class Changes { if (matchFound) { toUpload.push(c) } else { + console.log("Refusing change about "+c.type+"/"+ c.id+" as not in the objects. No internet?") refused.push(c) } }) @@ -708,6 +709,9 @@ export class Changes { let { toUpload, refused } = this.fragmentChanges(pending, objects) + if(toUpload.length === 0){ + return refused + } await this._changesetHandler.UploadChangeset( (csId, remappings) => { if (remappings.size > 0) {