We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b2ba33 commit def5396Copy full SHA for def5396
crates/matrix-sdk-crypto/src/error.rs
@@ -88,7 +88,7 @@ pub enum MegolmError {
88
89
/// Decryption failed because we're missing the room key that was to encrypt
90
/// the event.
91
- #[error("Can't find the room key to decrypt the event")]
+ #[error("Can't find the room key to decrypt the event, withheld code: {0:?}")]
92
MissingRoomKey(Option<WithheldCode>),
93
94
/// Decryption failed because of a mismatch between the identity keys of the
crates/matrix-sdk-crypto/src/machine.rs
@@ -1360,7 +1360,6 @@ impl OlmMachine {
1360
_ => {}
1361
}
1362
1363
- // TODO: log the withheld reason if we have one.
1364
warn!("Failed to decrypt a room event: {e}");
1365
1366
0 commit comments