[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [flashproxy/master] Use a logDebug instead of a panic.
commit 1e6f2057e2852abcdedb4b2e3b24cf7868eeb8a1
Author: David Fifield <david@xxxxxxxxxxxxxxx>
Date: Mon Nov 26 01:44:53 2012 -0800
Use a logDebug instead of a panic.
---
websocket-transport/websocket-server.go | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/websocket-transport/websocket-server.go b/websocket-transport/websocket-server.go
index fcdcd7f..e4ab144 100644
--- a/websocket-transport/websocket-server.go
+++ b/websocket-transport/websocket-server.go
@@ -175,7 +175,7 @@ func startListener(addr *net.TCPAddr) (*net.TCPListener, error) {
http.Handle("/", config.Handler(websocketHandler))
err = http.Serve(ln, nil)
if err != nil {
- panic("http.Serve: " + err.Error())
+ logDebug("http.Serve: " + err.Error())
}
}()
return ln, nil
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits