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>
This commit is contained in:
parent
a0858bfed0
commit
859ccccd80
|
@ -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}
|
||||
|
|
Loading…
Reference in New Issue