HomePhabricator
Diffusion Comm d34e423bf376

[web] improve error handling when setting/getting userID

Description

[web] improve error handling when setting/getting userID

Summary:

  1. Making errors more descriptive
  2. When we cannot not get userID we should delete database

Test Plan:

  1. Throw errors from setting/getting userID and check if errors are printed.
  2. Throw error from getting and make sure database is deleted

Reviewers: tomek, michal

Reviewed By: tomek

Subscribers: ashoat

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

Details

Provenance
kamilAuthored on Dec 12 2023, 1:11 AM
Reviewer
tomek
Differential Revision
D10305: [web] improve error handling when setting/getting userID
Parents
rCOMM5608b6e2455d: Don't overwrite original notification with error message notification
Branches
Unknown
Tags
Unknown