Skip to content

Commit

Permalink
feat: change log level of one error message that comes up that should…
Browse files Browse the repository at this point in the history
…n't be error
  • Loading branch information
112batuhan committed Dec 9, 2024
1 parent b4be72a commit cdfbeeb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/handlers/activity.rs
Original file line number Diff line number Diff line change
Expand Up @@ -483,7 +483,9 @@ async fn handle_socket(
{
let mut locked_ws_sender = ws_sender.lock().await;
if let Err(error) = locked_ws_sender.send(Message::Text(initial_data)).await {
tracing::error!(
// TODO: change this to error later! log the "working with closed connection" to info.
// It's cluttering logs
tracing::info!(
"Error while sending initial message to {}: {}",
address,
error
Expand Down

0 comments on commit cdfbeeb

Please sign in to comment.