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

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

parent 589c367e
No related branches found
No related tags found
1 merge request!164Resolve L2SS-334 "2021 10 21 replace streams with logger"
...@@ -290,7 +290,7 @@ class ObservationControl(Device): ...@@ -290,7 +290,7 @@ class ObservationControl(Device):
self.create_dynamic_device(class_name, device_name) self.create_dynamic_device(class_name, device_name)
except DevFailed as ex: except DevFailed as ex:
error_string = "Cannot create the Observation device instance {} for ID={}. This means that the observation did not start.".format(device_name, obs_id) error_string = "Cannot create the Observation device instance {} for ID={}. This means that the observation did not start.".format(device_name, obs_id)
logger.error(error_string) 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