Skip to content
Snippets Groups Projects
Commit 6e4d8be7 authored by Taya Snijder's avatar Taya Snijder
Browse files

Apply 1 suggestion(s) to 1 file(s)

parent e22d057b
No related branches found
No related tags found
1 merge request!164Resolve L2SS-334 "2021 10 21 replace streams with logger"
...@@ -310,7 +310,7 @@ class ObservationControl(Device): ...@@ -310,7 +310,7 @@ class ObservationControl(Device):
# Remove the device again. # Remove the device again.
self.delete_dynamic_device(class_name, device_name) self.delete_dynamic_device(class_name, device_name)
error_string = "Cannot access the Observation device instance for observation ID={} with device class name={} and device instance name={}. This means that the observation likely did not start but certainly cannot be controlled and/or forcefully be stopped.".format(obs_id, class_name, device_name) error_string = "Cannot access the Observation device instance for observation ID={} with device class name={} and device instance name={}. This means that the observation likely did not start but certainly cannot be controlled and/or forcefully be stopped.".format(obs_id, class_name, device_name)
logger.error("{}, {}".format(error_string, ex)) logger.exception(error_string)
Except.re_throw_exception(ex, "DevFailed", error_string, __name__) Except.re_throw_exception(ex, "DevFailed", error_string, __name__)
try: try:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment