diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2020-04-05 18:26:38 -0400 |
---|---|---|
committer | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2020-04-05 18:26:38 -0400 |
commit | 7449ffd4dc74ea79c1e7337a6402b1c697c0a875 (patch) | |
tree | 25c6ef657e25f5966f35baa6d4f70d6d848ae793 /ext/bg/js/dictionary-importer.js | |
parent | 3df78904cf734da208c6fd1b6ae1cd6612323148 (diff) |
Fix error reporting during dictionary import
Diffstat (limited to 'ext/bg/js/dictionary-importer.js')
-rw-r--r-- | ext/bg/js/dictionary-importer.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/bg/js/dictionary-importer.js b/ext/bg/js/dictionary-importer.js index 589e7656..607a8b5e 100644 --- a/ext/bg/js/dictionary-importer.js +++ b/ext/bg/js/dictionary-importer.js @@ -180,7 +180,7 @@ class DictionaryImporter { try { await database.bulkAdd(objectStoreName, entries, i, count); } catch (e) { - errors.push(e); + errors.push(errorToJson(e)); } loadedCount += count; |