HomePhabricator
Diffusion Comm 4af551886ca0

[lib] Use getMessageForException instead of e.message in DM related code

Description

[lib] Use getMessageForException instead of e.message in DM related code

Summary:
Use getMessageForException instead of e.message in DM related code in order to avoid bugs when throwing primitives.
Depends on D13757

Test Plan: 1. Run flow checks, run the app, verify that nothing crashes.

Reviewers: kamil, tomek, ashoat

Reviewed By: ashoat

Subscribers: ashoat, tomek

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

Details

Provenance
angelikaAuthored on Oct 21 2024, 1:24 PM
Reviewer
ashoat
Differential Revision
D13761: [lib] Use getMessageForException instead of e.message in DM related code
Parents
rCOMM4723c3b6eb1d: [lib] Restart session when any Olm error is thrown
Branches
Unknown
Tags
Unknown