1
0
This commit is contained in:
Zef Hemel 2022-07-19 17:21:11 +02:00
parent 2a4bb76fa2
commit 3dacf3723e

View File

@ -269,7 +269,14 @@ export class Editor {
this.viewDispatch({ type: "page-saved" });
resolve();
})
.catch(reject);
.catch((e) => {
this.flashNotification(
"Could not save page, retrying again in 10 seconds",
"error"
);
this.saveTimeout = setTimeout(this.save.bind(this), 10000);
reject(e);
});
} else {
resolve();
}