0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-05-10 03:08:40 +00:00

Merge pull request #3844 from G-Ambatte/catchIDBErrors

Catch IndexedDB errors
This commit is contained in:
Trevor Buckner
2024-10-21 09:59:29 -04:00
committed by GitHub
+2 -2
View File
@@ -228,8 +228,8 @@ const EditPage = createClass({
htmlErrors : Markdown.validate(prevState.brew.text)
}));
await updateHistory(this.state.brew);
await versionHistoryGarbageCollection();
await updateHistory(this.state.brew).catch(console.error);
await versionHistoryGarbageCollection().catch(console.error);
const transfer = this.state.saveGoogle == _.isNil(this.state.brew.googleId);