mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-23 00:01:36 +00:00
log contentview errors in the debug log only
We already display the "couldn't parse" message, which is better than overwhelming users with a traceback. refs #2658
This commit is contained in:
parent
9e4a443d42
commit
f36dbc62a8
@ -116,7 +116,7 @@ class FlowDetails(tabs.Tabs):
|
|||||||
viewmode, message
|
viewmode, message
|
||||||
)
|
)
|
||||||
if error:
|
if error:
|
||||||
self.master.add_log(error, "error")
|
self.master.add_log(error, "debug")
|
||||||
# Give hint that you have to tab for the response.
|
# Give hint that you have to tab for the response.
|
||||||
if description == "No content" and isinstance(message, http.HTTPRequest):
|
if description == "No content" and isinstance(message, http.HTTPRequest):
|
||||||
description = "No request content (press tab to view response)"
|
description = "No request content (press tab to view response)"
|
||||||
|
Loading…
Reference in New Issue
Block a user