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

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

parent 0f3a29c6
No related branches found
No related tags found
1 merge request!164Resolve L2SS-334 "2021 10 21 replace streams with logger"
......@@ -263,7 +263,7 @@ class ObservationControl(Device):
except DevFailed as ex:
self.delete_dynamic_device(class_name, device_name)
error_string = "Cannot start the device {} for the device class {}. Exception: {}".format(device_name, class_name, ex)
logger.error("{}, {}".format(error_string, ex))
logger.exception(error_string)
Except.re_throw_exception(ex, "DevFailed", error_string, __name__)
# API
......
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