From 33d03d916a4866ea59bb530547f028b72d34792a Mon Sep 17 00:00:00 2001 From: Aldo Cortesi Date: Sat, 16 Jul 2016 10:39:49 +1200 Subject: [PATCH] Flash a status bar message if an error log event occurs --- mitmproxy/console/master.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mitmproxy/console/master.py b/mitmproxy/console/master.py index f59729eac..7192c2812 100644 --- a/mitmproxy/console/master.py +++ b/mitmproxy/console/master.py @@ -276,6 +276,9 @@ class ConsoleMaster(flow.FlowMaster): return if level == "error": + signals.status_message.send( + message = "Error: %s" % str(e) + ) e = urwid.Text(("error", str(e))) else: e = urwid.Text(str(e))