mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2025-01-30 23:09:44 +00:00
fix import
This commit is contained in:
parent
9759207c8d
commit
547dd4163e
@ -220,7 +220,6 @@ class HttpLayer(Layer):
|
||||
six.reraise(ProtocolException, ProtocolException(
|
||||
"Error in HTTP connection: %s" % repr(e)), sys.exc_info()[2])
|
||||
except Exception:
|
||||
import traceback
|
||||
traceback.print_exc()
|
||||
six.reraise(*sys.exc_info()[:3])
|
||||
finally:
|
||||
|
Loading…
Reference in New Issue
Block a user