import error handling

This commit is contained in:
zadam
2019-02-10 19:53:57 +01:00
parent e4c78f3887
commit a097cefba7
3 changed files with 37 additions and 17 deletions

View File

@@ -24,7 +24,7 @@ let lastSentCountTs = Date.now();
*/
async function importTar(importContext, fileBuffer, importRootNote) {
importNoteCount = 0;
throw new Error("Hello");
// maps from original noteId (in tar file) to newly generated noteId
const noteIdMap = {};
const attributes = [];