mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2025-02-01 07:49:10 +00:00
fix bug introduced in 909d5ec
This commit is contained in:
parent
54c4859a95
commit
4c331e2d01
@ -147,7 +147,7 @@ class DumpMaster(flow.FlowMaster):
|
||||
try:
|
||||
return flow.read_flows_from_paths(paths)
|
||||
except FlowReadException as e:
|
||||
raise DumpError(e.strerror)
|
||||
raise DumpError(str(e))
|
||||
|
||||
def add_event(self, e, level="info"):
|
||||
needed = dict(error=0, info=1, debug=2).get(level, 1)
|
||||
|
Loading…
Reference in New Issue
Block a user