Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
enh(SyncService): Throw error on save failure
This allows to detect errors when saving via the editor API.

Signed-off-by: Jonas <[email protected]>
  • Loading branch information
mejo- authored and juliusknorr committed Oct 11, 2023
commit 24ada4f83f4f4ae3e2fa815133b644305ad863c3
1 change: 1 addition & 0 deletions src/services/SyncService.js
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,7 @@ class SyncService {
this.autosave.clear()
} catch (e) {
logger.error('Failed to save document.', { error: e })
throw e
}
}

Expand Down