mirror of
https://github.com/aljazceru/notedeck.git
synced 2025-12-19 09:34:19 +01:00
enostr: show unrecognized message in log
Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
@@ -152,7 +152,9 @@ impl<'a> RelayMessage<'a> {
|
||||
return Ok(Self::ok(event_id, status, message));
|
||||
}
|
||||
|
||||
Err(Error::DecodeFailed("unrecognized message type".into()))
|
||||
Err(Error::DecodeFailed(format!(
|
||||
"unrecognized message type: '{msg}'"
|
||||
)))
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user