mirror of
https://github.com/matrix-org/matrix-rust-sdk.git
synced 2026-05-08 16:04:13 -04:00
chore(crypto): Improve a log line
This commit is contained in:
@@ -517,10 +517,10 @@ impl ReadOnlyDevice {
|
||||
k
|
||||
} else {
|
||||
warn!(
|
||||
"Trying to encrypt a Megolm session for user {} on device {}, \
|
||||
but the device doesn't have a curve25519 key",
|
||||
self.user_id(),
|
||||
self.device_id()
|
||||
user_id = %self.user_id(),
|
||||
device_id = %self.device_id(),
|
||||
"Trying to encrypt a Megolm session, but the device doesn't \
|
||||
have a curve25519 key",
|
||||
);
|
||||
return Err(EventError::MissingSenderKey.into());
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user