1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-07-16 00:14:34 +02:00

Desktop: Add Joplin Cloud sync target

This commit is contained in:
Laurent Cozic
2021-06-03 17:12:07 +02:00
parent 770af6a53b
commit 21ea3253db
11 changed files with 151 additions and 33 deletions

View File

@ -24,7 +24,7 @@ class SyncTargetRegistry {
if (!this.reg_.hasOwnProperty(n)) continue;
if (this.reg_[n].name === name) return this.reg_[n].id;
}
throw new Error(`Name not found: ${name}`);
throw new Error(`Name not found: ${name}. Was the sync target registered?`);
}
static idToMetadata(id) {