[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [bridgedb/develop] Tell twisted.web.server.Site not to display tracebacks.



commit 5ccdda5c5ba6b4dd3462ef4038a8d4e809d630cd
Author: Isis Lovecruft <isis@xxxxxxxxxxxxxx>
Date:   Wed May 14 21:35:55 2014 +0000

    Tell twisted.web.server.Site not to display tracebacks.
---
 lib/bridgedb/HTTPServer.py |    1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/bridgedb/HTTPServer.py b/lib/bridgedb/HTTPServer.py
index ead6d60..b436df2 100644
--- a/lib/bridgedb/HTTPServer.py
+++ b/lib/bridgedb/HTTPServer.py
@@ -906,6 +906,7 @@ def addWebServer(cfg, dist, sched):
         httpdist.putChild('bridges', bridges)
 
     site = server.Site(httpdist)
+    site.displayTracebacks = False
 
     if cfg.HTTP_UNENCRYPTED_PORT:
         ip = cfg.HTTP_UNENCRYPTED_BIND_IP or ""

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits