fix migration in electron build

This commit is contained in:
azivner
2017-12-06 20:58:59 -05:00
parent d467fbdff3
commit bbd1774815
6 changed files with 18 additions and 9 deletions

View File

@@ -28,7 +28,7 @@ async function createNewNote(parentNoteId, note) {
await sync_table.addNoteReorderingSync(parentNoteId);
}
else {
throwError('Unknown target: ' + note.target);
throw new Error('Unknown target: ' + note.target);
}