summaryrefslogtreecommitdiff
path: root/src/helper
diff options
context:
space:
mode:
authorØyvind Harboe <oyvind.harboe@zylin.com>2011-01-31 12:09:46 +0100
committerØyvind Harboe <oyvind.harboe@zylin.com>2011-01-31 12:09:46 +0100
commit859ccccd8076910f7b022d712beeaffaf2f2fa9e (patch)
tree9dc3ba834b42c3993d9e3220e9467c70d6c01ed2 /src/helper
parenta0858bfed053fa4555d729554ad8b8089a7ac308 (diff)
downloadopenocd+libswd-859ccccd8076910f7b022d712beeaffaf2f2fa9e.tar.gz
openocd+libswd-859ccccd8076910f7b022d712beeaffaf2f2fa9e.tar.bz2
openocd+libswd-859ccccd8076910f7b022d712beeaffaf2f2fa9e.tar.xz
openocd+libswd-859ccccd8076910f7b022d712beeaffaf2f2fa9e.zip
error: remove debug output when reporting errors
The user does not need to know or care about "command handlers". Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
Diffstat (limited to 'src/helper')
-rw-r--r--src/helper/startup.tcl3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/helper/startup.tcl b/src/helper/startup.tcl
index 4c71a9a0..2e2982cc 100644
--- a/src/helper/startup.tcl
+++ b/src/helper/startup.tcl
@@ -22,7 +22,8 @@ proc ocd_bouncer {name args} {
if {[catch {eval $cmd $args}] == 0} {
return ""
} else {
- set errmsg "Command handler execution failed"
+ # 'classic' commands output error message as part of progress output
+ set errmsg ""
}
} else {if {$type == "group"} {
catch {eval ocd_usage $name $args}