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:
Øyvind Harboe 2011-01-31 12:09:46 +01:00
parent a0858bfed0
commit 859ccccd80

View File

@ -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}