parent
e815442881
commit
3a05d36f8c
6 changed files with 32 additions and 19 deletions
src
|
@ -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."
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue