From 1136d42d405044101fa7633d3662b0dd359e2733 Mon Sep 17 00:00:00 2001 From: "sebastian.sjoholm" Date: Fri, 28 Dec 2012 10:29:06 +0000 Subject: --- drcontrol.py | 4 ++-- 1 file 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(): -- cgit v1.1