diff --git a/src/server.rs b/src/server.rs index fdcc7eb..d3d2f19 100644 --- a/src/server.rs +++ b/src/server.rs @@ -433,6 +433,9 @@ fn convert_to_msg(msg: String, max_bytes: Option) -> Result let parsed_res: Result = serde_json::from_str(&msg).map_err(|e| e.into()); match parsed_res { Ok(m) => { + if let NostrMessage::SubMsg(_) = m { + debug!("REQ: {:?}",msg); + }; if let NostrMessage::EventMsg(_) = m { if let Some(max_size) = max_bytes { // check length, ensure that some max size is set.