diff --git a/src/webrtc.rs b/src/webrtc.rs index a099c2e..380d315 100644 --- a/src/webrtc.rs +++ b/src/webrtc.rs @@ -210,7 +210,7 @@ impl WebRtcState { } Err(e) => { tracing::error!("SDP offer handling failed: {e}"); - let resp = format!("HTTP/1.1 500 Error\r\nConnection: close\r\n\r\n{e}"); + let resp = "HTTP/1.1 500 Internal Server Error\r\nConnection: close\r\n\r\n"; let _ = stream.write_all(resp.as_bytes()); } }