add requests to requrements, improve error logging

This commit is contained in:
Maximilian Hils 2014-03-19 17:18:21 +01:00
parent 6924eb75bf
commit 3a89c84eaf
2 changed files with 5 additions and 1 deletions

View File

@ -946,7 +946,10 @@ class HTTPHandler(ProtocolHandler, TemporaryServerChangeMixin):
if code:
err = "%s: %s" % (code, message)
else:
err = error.__class__
try:
err = str(error)
except:
err = error.__class__
self.c.log("error: %s" % err, level="info")

View File

@ -102,6 +102,7 @@ setup(
"netlib>=%s"%version.MINORVERSION,
"urwid>=1.1",
"pyasn1>0.1.2",
"requests>=1.2.2",
"pyopenssl>=0.14",
"Pillow>=2.3.0",
"lxml",