mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-23 00:01:36 +00:00
Merge branch 'func'
This commit is contained in:
commit
b688661ffb
@ -486,10 +486,13 @@ class TCPServer(object):
|
||||
# none.
|
||||
if traceback:
|
||||
exc = traceback.format_exc()
|
||||
print >> fp, '-'*40
|
||||
print >> fp, "Error in processing of request from %s:%s" % (client_address.host, client_address.port)
|
||||
print >> fp, exc
|
||||
print >> fp, '-'*40
|
||||
print('-'*40, file=fp)
|
||||
print(
|
||||
"Error in processing of request from %s:%s" % (
|
||||
client_address.host, client_address.port
|
||||
), file=fp)
|
||||
print(exc, file=fp)
|
||||
print('-'*40, file=fp)
|
||||
|
||||
def handle_client_connection(self, conn, client_address): # pragma: no cover
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user