Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Added support for emitting connection errors in WireAsset #5479

Merged

Conversation

nicolatimeus
Copy link
Contributor

Note: We are using the Conventional Commits convention for our pull request titles. Please take a look at the PR title format document for the supported types and scopes.

Brief description of the PR. [e.g. Added null check on object to avoid NullPointerException]

Adds support for emitting an envelope in case of ConnectionException during read operations in WireAsset. The envelope will contain a property named assetError containing the error message associated with the exception and a timestamp.

@nicolatimeus nicolatimeus marked this pull request as ready for review October 24, 2024 09:38
@pierantoniomerlino pierantoniomerlino self-requested a review October 30, 2024 09:22
@pierantoniomerlino
Copy link
Contributor

Succesfully tested with a RPI and the Modbus Driver.

@pierantoniomerlino pierantoniomerlino merged commit fecabd4 into eclipse-kura:develop Oct 30, 2024
4 checks passed
eclipse-kura-bot pushed a commit that referenced this pull request Oct 30, 2024
* feat: Added support for emitting connection errors in WireAsset

Signed-off-by: Nicola Timeus <[email protected]>

* Added test for null error message

Signed-off-by: Nicola Timeus <[email protected]>

---------

Signed-off-by: Nicola Timeus <[email protected]>
(cherry picked from commit fecabd4)
nicolatimeus added a commit that referenced this pull request Oct 30, 2024
…port release-5.6.0] (#5494)

feat: Added support for emitting connection errors in WireAsset (#5479)

* feat: Added support for emitting connection errors in WireAsset

Signed-off-by: Nicola Timeus <[email protected]>

* Added test for null error message

Signed-off-by: Nicola Timeus <[email protected]>

---------

Signed-off-by: Nicola Timeus <[email protected]>
(cherry picked from commit fecabd4)

Co-authored-by: nicolatimeus <[email protected]>
MMaiero pushed a commit that referenced this pull request Dec 20, 2024
* feat: Added support for emitting connection errors in WireAsset

Signed-off-by: Nicola Timeus <[email protected]>

* Added test for null error message

Signed-off-by: Nicola Timeus <[email protected]>

---------

Signed-off-by: Nicola Timeus <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants