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