Skip to content

Commit 1bb6f58

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

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)