HomePhabricator
Diffusion Comm a66dc12f4518

[web] catch error while processing store operations

Description

[web] catch error while processing store operations

Summary:
This is an improvement to ENG-5910.

Previously only on the worker console was some indication that processing store ops failed.
Adding an alert for staff users to know if ENG-5910 is caused by this.

Also, matching native, where when there are ops failures we close the app and then delete the database. Here we delete the database and reload app to show login screen for user.

Test Plan:
Make operation with updating draft to throw and see video:

Reviewers: tomek, michal

Reviewed By: tomek

Subscribers: ashoat

Differential Revision: https://phab.comm.dev/D10152

Details

Provenance
kamilAuthored on Dec 4 2023, 6:31 AM
Reviewer
tomek
Differential Revision
D10152: [web] catch error while processing store operations
Parents
rCOMM9301dc67ebc3: [lib][web][native] Refactor invalidSessionDowngrade for setNewSessionActionType
Branches
Unknown
Tags
Unknown