diff --git a/site_ansto/instrument/config/environment/sct_protek_common.tcl b/site_ansto/instrument/config/environment/sct_protek_common.tcl index 0560674c..a5cb7656 100644 --- a/site_ansto/instrument/config/environment/sct_protek_common.tcl +++ b/site_ansto/instrument/config/environment/sct_protek_common.tcl @@ -152,10 +152,8 @@ proc MakeProtek {name sctName CID CTYPE {scale 1.0} {offset 0.0} {interval 0.5} $sctName poll /sics/$soState/state $interval $sctName poll /sics/$sobjName $interval } - } catch_message ] { - handle_exception ${catch_status} ${catch_message} - } - return /sics/$sobjName + } catch_message ] + handle_exception ${catch_status} ${catch_message} }