diff --git a/tangostationcontrol/tangostationcontrol/devices/temperature_manager.py b/tangostationcontrol/tangostationcontrol/devices/temperature_manager.py index 139d384cd875edb0f65500b6934bac1d5bac3289..777343c80492bd03de0f84c21d5f1a1c29e09b90 100644 --- a/tangostationcontrol/tangostationcontrol/devices/temperature_manager.py +++ b/tangostationcontrol/tangostationcontrol/devices/temperature_manager.py @@ -160,8 +160,11 @@ class TemperatureManager(lofar_device): This function automatically shuts down all hardware devices whenever a temperature alarm is detected """ for dev_name in self.Shutdown_Device_List: - proxy = DeviceProxy(dev_name) - proxy.disable_hardware() + try: + proxy = DeviceProxy(dev_name) + proxy.disable_hardware() + except Exception as e: + logger.warning(f"Automatic hardware shutdown of device {dev_name} has failed: {e.args[0]}") # TODO(Stefano): Add "STAT/PSOC/1" to the shutdown list and develop its behaviour logger.warning(f"Temperature alarm triggered auto shutdown of all hardware devices")