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

@ -66,4 +66,5 @@ class Upsidedownternet(Plugin):
mitmf_logger.info("{} Flipped image".format(request.client.getClientIP()))
except Exception as e:
mitmf_logger.info("{} Error: {}".format(request.client.getClientIP(), e))
return {'request': request, 'data': data}