summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xdrcontrol.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/drcontrol.py b/drcontrol.py
index 56d9955..4d9749d 100755
--- a/drcontrol.py
+++ b/drcontrol.py
@@ -127,8 +127,8 @@ def set_relay():
if cmdarg.verbose:
print "Current state: " + bb.port
- except Exception:
- print "Error: Problem with device, or device not exists"
+ except Exception, err:
+ print "Error: Problem with device, or device not exists: " + err
sys.exit(1)
def check():
OpenPOWER on IntegriCloud