aboutsummaryrefslogtreecommitdiffstats
path: root/libmproxy/console/contentview.py
diff options
context:
space:
mode:
authorMaximilian Hils <git@maximilianhils.com>2014-03-18 17:19:44 +0100
committerMaximilian Hils <git@maximilianhils.com>2014-03-18 17:19:44 +0100
commitce38a17893791944fb8b4f589e7ce00d79b8ced0 (patch)
treea26c992e1011cab0558efa389dee561bcf694d62 /libmproxy/console/contentview.py
parentc07cd857a76db5a4d9dbfe46abc84bb6c20088f1 (diff)
parent843b2e28bc4fcadb854b4b50c2f56a67bf63866a (diff)
downloadmitmproxy-ce38a17893791944fb8b4f589e7ce00d79b8ced0.tar.gz
mitmproxy-ce38a17893791944fb8b4f589e7ce00d79b8ced0.tar.bz2
mitmproxy-ce38a17893791944fb8b4f589e7ce00d79b8ced0.zip
Merge pull request #238 from mitmproxy/log_levels
Log Levels
Diffstat (limited to 'libmproxy/console/contentview.py')
-rw-r--r--libmproxy/console/contentview.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmproxy/console/contentview.py b/libmproxy/console/contentview.py
index 60ca13b8..5f3e17fe 100644
--- a/libmproxy/console/contentview.py
+++ b/libmproxy/console/contentview.py
@@ -490,7 +490,7 @@ def get_content_view(viewmode, hdrItems, content, limit, logfunc):
except Exception:
s = traceback.format_exc()
s = "Content viewer failed: \n" + s
- logfunc(s)
+ logfunc(s, "error")
ret = None
if not ret:
ret = get("Raw")(hdrs, content, limit)