Skip to content

Commit

Permalink
Revert "fix(server): return err on WS handshake err (#1288)"
Browse files Browse the repository at this point in the history
This reverts commit d9c4a5c.
  • Loading branch information
niklasad1 committed Mar 25, 2024
1 parent 0d89c1a commit de5c997
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/src/transport/ws.rs
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,7 @@ where
}
Err(e) => {
tracing::debug!(target: LOG_TARGET, "WS upgrade handshake failed: {}", e);
Err(hyper::Response::new(hyper::Body::from(format!("WS upgrade handshake failed: {e}"))))
Err(hyper::Response::new(hyper::Body::from(format!("Could not upgrade connection: {e}"))))
}
}
}

0 comments on commit de5c997

Please sign in to comment.