summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/gui/eip_status.py
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2013-10-30 12:19:22 -0200
committerKali Kaneko <kali@leap.se>2013-10-30 12:19:22 -0200
commitee34892ea25bce23b0fc85a73eb26ca29962b608 (patch)
treef338884e30e6d06c3ae746bd4298e342b0c7aae9 /src/leap/bitmask/gui/eip_status.py
parente959577c7c86689820d75e460ebee23209692a7d (diff)
parentf60a971f37b9a9e0ee1115faaaae6aadbd91f3cf (diff)
Merge remote-tracking branch 'chiiph/bug/log_eip_events' into develop
Diffstat (limited to 'src/leap/bitmask/gui/eip_status.py')
-rw-r--r--src/leap/bitmask/gui/eip_status.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/leap/bitmask/gui/eip_status.py b/src/leap/bitmask/gui/eip_status.py
index 77685cd3..324586c0 100644
--- a/src/leap/bitmask/gui/eip_status.py
+++ b/src/leap/bitmask/gui/eip_status.py
@@ -269,6 +269,10 @@ class EIPStatusWidget(QtGui.QWidget):
:type error: bool
"""
leap_assert_type(error, bool)
+ if error:
+ logger.error(status)
+ else:
+ logger.debug(status)
self._eip_status = status
if error:
status = "<font color='red'>%s</font>" % (status,)