frappy/get_all_param: catch error when object is missing
This commit is contained in:
@ -266,9 +266,12 @@ proc frappy_async_client {} {
|
|||||||
|
|
||||||
proc get_all_param {args} {
|
proc get_all_param {args} {
|
||||||
foreach obj $args {
|
foreach obj $args {
|
||||||
set hp [get_obj_path $obj]
|
catch {
|
||||||
hnotify $hp 1
|
set hp [get_obj_path $obj]
|
||||||
get_param_values $hp
|
hnotify $hp 1
|
||||||
|
get_param_values $hp
|
||||||
|
}
|
||||||
|
# todo: create error message on failure
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user