Skip to content

Commit

Permalink
Merge branch 'main' into dependabot/cargo/rustls-0.22.4
Browse files Browse the repository at this point in the history
  • Loading branch information
heya-naohiro authored Apr 28, 2024
2 parents 95767a5 + 50c3f33 commit df7b2de
Show file tree
Hide file tree
Showing 2 changed files with 146 additions and 197 deletions.
5 changes: 3 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ use tracing;
mod mqttcoder;
mod rpcserver;
mod topicfilter;
use std::arch::x86_64;
use std::fs::File;
use std::io::{self, BufReader};
//use tokio::io::{AsyncReadExt, AsyncWriteExt};
Expand Down Expand Up @@ -489,7 +490,7 @@ where
}
}
mqttcoder::MQTTPacket::Publish(packet) => {
debug!("Publish {:?}", packet);
debug!("Packet::Publish {:?}", packet);
// [TODO] Data path
match cassandra_session {
Some(ref s) => {
Expand Down Expand Up @@ -573,7 +574,7 @@ where
let client_id_4 = match client_id {
Some(cid) => cid,
None => {
error!("Client id is not found");
warn!("Client id is not found");
return Err(io::Error::new(
io::ErrorKind::Other,
"Client id is not found",
Expand Down
Loading

0 comments on commit df7b2de

Please sign in to comment.