frappy/get_all_param: catch error when object is missing

This commit is contained in:
2023-07-03 18:08:25 +02:00
parent e8f6f0c3a9
commit 1d7ab6fb46

View File

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