Skip to content

Commit

Permalink
Handle async index db initialization errors, fixes tutadb 1805
Browse files Browse the repository at this point in the history
Errors while initializing the DBFacade are now handled inside DBFacade and re thrown as DBError to prevent uncaught errors.

Errors from the event queue are also not reported as uncaught error by EntityClient anymore as they are thrown anyway.
  • Loading branch information
bedhub committed Jun 5, 2024
1 parent 5fba29b commit b4202bd
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/api/worker/EventBusClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -558,7 +558,6 @@ export class EventBusClient {
await this.processEventBatch(modification)
} catch (e) {
console.log("ws error while processing event batches", e)
this.listener.onError(e)
throw e
}

Expand Down

0 comments on commit b4202bd

Please sign in to comment.