HomePhabricator
Diffusion Comm a907ff87e418

[web] fix uncaught exception when user cancels SIWE

Description

[web] fix uncaught exception when user cancels SIWE

Summary:
if a user cancels the request to sign the SIWE message from their wallet, we get an uncaught exception. wrap the call to signMessage with a try-catch to fix this bug

Depends on D12548

Test Plan: canceled SIWE message signing from my wallet and didn't get an uncaught exception

Reviewers: inka, ginsu

Reviewed By: ginsu

Subscribers: ashoat, tomek

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

Details

Provenance
varunAuthored on Jun 21 2024, 4:12 PM
Reviewer
ginsu
Differential Revision
D12549: [web] fix uncaught exception when user cancels SIWE
Parents
rCOMMb94eb9c9e71b: [web] fix uncaught exception bug
Branches
Unknown
Tags
Unknown