Skip to content

Commit

Permalink
clarify log message when messages not sent as encoded content
Browse files Browse the repository at this point in the history
  • Loading branch information
cameronvoell committed Jan 16, 2025
1 parent 63609c5 commit a7ab65f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xmtp_mls/src/groups/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -786,7 +786,7 @@ impl<ScopedClient: ScopedGroupClient> MlsGroup<ScopedClient> {
fn extract_queryable_content_fields(message: &[u8]) -> QueryableContentFields {
// Return early with default if decoding fails or type is missing
EncodedContent::decode(message)
.inspect_err(|e| tracing::debug!("Failed to decode message as EncodedContent: {}", e))
.inspect_err(|e| tracing::debug!("No queryable content fields, msg not formatted as encoded content"))
.and_then(|content| {
QueryableContentFields::try_from(content).inspect_err(|e| {
tracing::debug!(
Expand Down

0 comments on commit a7ab65f

Please sign in to comment.