fix: handle unhandled exceptions (#1116)

* Handle unhandled exceptions
* cleanup
This commit is contained in:
Philip Okugbe
2025-04-29 23:29:00 +01:00
committed by GitHub
parent 9bbd62e0f0
commit e8847bd9cd
3 changed files with 20 additions and 8 deletions

View File

@ -130,7 +130,7 @@ export class PersistenceExtension implements Extension {
);
this.contributors.delete(documentName);
} catch (err) {
this.logger.log('Contributors error:' + err?.['message']);
this.logger.debug('Contributors error:' + err?.['message']);
}
await this.pageRepo.updatePage(