diff --git a/core/backends/backend-xwiki/src/xwikiStorage.ts b/core/backends/backend-xwiki/src/xwikiStorage.ts index 409e525b2..4be0089e4 100644 --- a/core/backends/backend-xwiki/src/xwikiStorage.ts +++ b/core/backends/backend-xwiki/src/xwikiStorage.ts @@ -322,6 +322,7 @@ export class XWikiStorage extends AbstractStorage { this.alertsServiceProvider .get() .error(`Could not save page ${page}. Reason: ${errorMessage}`); + // We need to throw an error to notify the editor that the save failed. throw new Error(errorMessage); }