From 40efcb70d69237ae30b64fe700488ab5aedf2ffb Mon Sep 17 00:00:00 2001 From: Artur Arseniev Date: Fri, 11 Mar 2022 17:15:29 +0100 Subject: [PATCH] Catch error for store --- src/editor/model/Editor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/editor/model/Editor.js b/src/editor/model/Editor.js index a2e0cd462..f4f04e3a1 100644 --- a/src/editor/model/Editor.js +++ b/src/editor/model/Editor.js @@ -193,7 +193,7 @@ export default class EditorModel extends Model { } if (stm.isAutosave() && changes >= stm.getStepsBeforeSave()) { - this.store(); + this.store().catch(err => this.logError(err)); } }