mirror of
https://github.com/linux-msm/openocd.git
synced 2026-02-25 13:15:07 -08:00
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:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user