improvement: lower logging for failed REQ parses
This commit is contained in:
+2
-2
@@ -447,8 +447,8 @@ fn convert_to_msg(msg: String, max_bytes: Option<usize>) -> Result<NostrMessage>
|
|||||||
Ok(m)
|
Ok(m)
|
||||||
}
|
}
|
||||||
Err(e) => {
|
Err(e) => {
|
||||||
debug!("proto parse error: {:?}", e);
|
trace!("proto parse error: {:?}", e);
|
||||||
debug!("parse error on message: {}", msg.trim());
|
trace!("parse error on message: {:?}", msg.trim());
|
||||||
Err(Error::ProtoParseError)
|
Err(Error::ProtoParseError)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user