Fixes + Version bump

This commit is contained in:
MassiveBox 2025-04-17 22:27:38 +02:00
parent e815442881
commit 3a05d36f8c
Signed by: massivebox
GPG key ID: 9B74D3A59181947D
6 changed files with 32 additions and 19 deletions

View file

@ -15,7 +15,11 @@ export async function findSyncIDInProtyle(fileID: string, iter?: number): Promis
if(syncID == null) {
syncID = ids.syncID;
}else if(ids.syncID !== syncID) {
throw new Error("Multiple syncIDs found");
throw new Error(
"Multiple syncIDs found in documents. Remove the drawings that don't exist from your documents.\n" +
"Sync conflict copies can cause this error, so make sure to delete them, or at least the js-draw drawings they contain.\n" +
"File IDs must be unique. Close this editor tab now."
);
}
}
}