pull/48/head
Zef Hemel 2022-07-19 17:21:11 +02:00
parent 2a4bb76fa2
commit 3dacf3723e
1 changed files with 8 additions and 1 deletions

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();
}