Skip to content
Snippets Groups Projects
Commit a4287095 authored by David Fifield's avatar David Fifield
Browse files

Also show message in the "error copying WebSocket to ORPort" case.

This was the only case out of the three not to show it.
parent 50673d49
No related branches found
No related tags found
No related merge requests found
......@@ -68,7 +68,7 @@ func proxy(local *net.TCPConn, conn *websocketconn.WebSocketConn) {
}()
go func() {
if _, err := io.Copy(local, conn); err != nil {
log.Printf("error copying WebSocket to ORPort")
log.Printf("error copying WebSocket to ORPort %v", err)
}
if err := local.CloseWrite(); err != nil {
log.Printf("error closing write after copying WebSocket to ORPort %v", err)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment