Skip to content

Commit 568a6a9

Browse files
committed
Expose HumanQrGrantLoginError::Unknown reason in error message
1 parent 6777907 commit 568a6a9

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

bindings/matrix-sdk-ffi/CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ All notable changes to this project will be documented in this file.
4444

4545
### Features
4646

47+
- Expose `HumanQrGrantLoginError::Unknown` reason in error message.
48+
([#6514](https://github.com/matrix-org/matrix-rust-sdk/pull/6514))
4749
- Add a list of `declined_by: Vec<String>` to the `TimelineItemContent::RtcNotification`, this will contain the list
4850
of users that have declined the call.
4951
([#6494](https://github.com/matrix-org/matrix-rust-sdk/pull/6494))

bindings/matrix-sdk-ffi/src/qr_code.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,7 @@ pub enum HumanQrGrantLoginError {
423423
NotFound,
424424

425425
/// An unknown error has happened.
426-
#[error("An unknown error has happened.")]
426+
#[error("An unknown error has happened: {0}")]
427427
Unknown(String),
428428

429429
/// The requested device was not returned by the homeserver.

0 commit comments

Comments
 (0)