From fa31fda3c0ea2888bb9ab857d9ef97885adcf64d Mon Sep 17 00:00:00 2001 From: Pieter Vander Vennet Date: Fri, 2 Aug 2024 19:22:28 +0200 Subject: [PATCH] HandleErrors script: start correctly numbered empty changeset --- scripts/handleErrors.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/handleErrors.ts b/scripts/handleErrors.ts index 7d414236a..97852f166 100644 --- a/scripts/handleErrors.ts +++ b/scripts/handleErrors.ts @@ -7,6 +7,7 @@ import OsmObjectDownloader from "../src/Logic/Osm/OsmObjectDownloader" import { OsmConnection } from "../src/Logic/Osm/OsmConnection" import { ImmutableStore } from "../src/Logic/UIEventSource" import { Utils } from "../src/Utils" +import Constants from "../src/Models/Constants" type ErrorMessage = { ip: string @@ -111,7 +112,7 @@ class HandleErrors extends Script { "error_changeset_" + parsed.index + "_" + e.layout + "_" + e.username + ".osc" if ( changeset === - "" + `` ) { console.log( "Changes for " +