Skip to content

Commit

Permalink
rusk: remove errant comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Eduardo Leegwater Simões committed May 15, 2024
1 parent bdf80b3 commit 63d0b6e
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions rusk/src/lib/http.rs
Original file line number Diff line number Diff line change
Expand Up @@ -562,15 +562,6 @@ async fn handle_stream_rues<H: HandleRequest>(
// If the event is subscribed, we send it to the client.
if is_subscribed {
let event = event.to_bytes();
//let event = match serde_json::to_string(&event) {
// Ok(event) => event,
// // If we fail to serialize the event, we log the error
// // and continue processing further.
// Err(err) => {
// warn!("Failed serializing event: {err}");
// continue;
// }
//};

// If the event fails sending we close the socket on the client
// and stop processing further.
Expand Down

0 comments on commit 63d0b6e

Please sign in to comment.