Skip to content
Snippets Groups Projects
Commit 0c12dea1 authored by Jan David Mol's avatar Jan David Mol
Browse files

Merge branch 'dont-fault-on-read-write-error' into 'main'

Do not go to FAULT if an attribute read/write fails

See merge request !7
parents 5a4cf9e8 fed50b84
No related branches found
No related tags found
1 merge request!7Do not go to FAULT if an attribute read/write fails
Pipeline #88912 failed
...@@ -43,5 +43,6 @@ This project is licensed under the Apache License Version 2.0 ...@@ -43,5 +43,6 @@ This project is licensed under the Apache License Version 2.0
## Releases ## Releases
- 0.3 - Do not go to FAULT if a read or write fails
- 0.2 - Ensure requirements.txt dependencies are installed - 0.2 - Ensure requirements.txt dependencies are installed
- 0.1 - Initial release from separating into own repository - 0.1 - Initial release from separating into own repository
...@@ -102,7 +102,6 @@ class AttributeWrapper(attribute): ...@@ -102,7 +102,6 @@ class AttributeWrapper(attribute):
# and the hardware does not necessarily return what we've written # and the hardware does not necessarily return what we've written
# (see L2SDP-725). # (see L2SDP-725).
@fault_on_error()
def write_func_wrapper(device, value): def write_func_wrapper(device, value):
"""write_func_wrapper writes a value to this attribute""" """write_func_wrapper writes a value to this attribute"""
...@@ -115,7 +114,6 @@ class AttributeWrapper(attribute): ...@@ -115,7 +114,6 @@ class AttributeWrapper(attribute):
f"Could not write attribute {comms_annotation}" f"Could not write attribute {comms_annotation}"
) from e ) from e
@fault_on_error()
def read_func_wrapper(device): def read_func_wrapper(device):
""" """
read_func_wrapper reads the attribute value, stores it and returns it" read_func_wrapper reads the attribute value, stores it and returns it"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment