Added debug logging to ProxyPlugins, it will now print a traceback if errors occur in hooked functions

This commit is contained in:
byt3bl33d3r 2015-05-05 00:39:59 +02:00
parent 5d07551a50
commit dfa9c9d65e
4 changed files with 14 additions and 2 deletions

View file

@ -189,7 +189,7 @@ class ServerConnection(HTTPClient):
self.client.setHeader('Content-Length', len(data))
try:
self.client.write(data) #Gets rid of some generic errors
self.client.write(data)
except:
pass