[tor-commits] [bridgedb/develop] Fix a misnamed logger call in HTTPServer; change severity level.

isis at torproject.org isis at torproject.org
Sat Feb 1 23:57:39 UTC 2014


commit 4d26c43515a4ed2d4f8cf2e066ecb764cd98e813
Author: Isis Lovecruft <isis at torproject.org>
Date:   Sun Jan 26 02:44:58 2014 +0000

    Fix a misnamed logger call in HTTPServer; change severity level.
---
 lib/bridgedb/HTTPServer.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/bridgedb/HTTPServer.py b/lib/bridgedb/HTTPServer.py
index da72f3e..26bc5ad 100644
--- a/lib/bridgedb/HTTPServer.py
+++ b/lib/bridgedb/HTTPServer.py
@@ -94,7 +94,7 @@ class CaptchaProtectedResource(twisted.web.resource.Resource):
         try:
             c.get()
         except Exception as error:
-            log.error("Connection to Recaptcha server failed.")
+            logging.fatal("Connection to Recaptcha server failed: %s" % error)
 
         # TODO: this does not work for versions of IE < 8.0
         imgstr = 'data:image/jpeg;base64,%s' % base64.b64encode(c.image)





More information about the tor-commits mailing list