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

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



commit 4d26c43515a4ed2d4f8cf2e066ecb764cd98e813
Author: Isis Lovecruft <isis@xxxxxxxxxxxxxx>
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)



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