diff --git a/editor/src/editor.js b/editor/src/editor.js index 569b215..94126d7 100644 --- a/editor/src/editor.js +++ b/editor/src/editor.js @@ -78,6 +78,9 @@ function addIndicator(editor, indicator) { editor.save().then(() => { indicator.setText('saved!'); indicator.done(); + }).catch(() => { + console.log('error while saving') + indicator.done(); }) } } diff --git a/list-editor/util.js b/list-editor/util.js new file mode 100644 index 0000000..e69de29