Skip to content

Commit

Permalink
fix format
Browse files Browse the repository at this point in the history
  • Loading branch information
rabe1028 committed Sep 10, 2023
1 parent 2f961c8 commit 2308773
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/controllers/public/nodex_receive.rs
Original file line number Diff line number Diff line change
Expand Up @@ -90,10 +90,7 @@ impl Handler<Message> for MessageReceiveActor {

fn handle(&mut self, msg: Message, ctx: &mut Self::Context) -> Self::Result {
log::info!("Received message: {:?}", msg);
let msg = serde_json::to_string(&msg).map_err(|e| {
log::error!("Error: {:?}", e);
()
})?;
let msg = serde_json::to_string(&msg).map_err(|e| log::error!("Error: {:?}", e))?;
ctx.text(msg);

Ok(())
Expand Down

0 comments on commit 2308773

Please sign in to comment.