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

nx_azure_iot_json_writer_append_property_with_double_value doesnt return meaningful failure errors #105

Closed
ryanwinter opened this issue May 27, 2022 · 2 comments
Assignees

Comments

@ryanwinter
Copy link

As outlined in eclipse-threadx/getting-started#337, the customer had a hard to diagnosing the returned error from his call to the json writer as it returned a generic error NX_AZURE_IOT_SDK_CORE_ERROR.

Upon investigation, it seems that this function swallows all errors from the embed c-sdk. In this case the user was unable to know that they had exceeded the memory buffer, even though this is reported back to nextduo, until he debugged into the function.

The preference would be to map the underlying c-sdk errors codes to netxduo errors codes and return these to the customers.

@bo-ms
Copy link
Contributor

bo-ms commented May 30, 2022

Thanks @ryanwinter for reporting this issue, we will check it.

@bo-ms bo-ms self-assigned this May 30, 2022
@bo-ms
Copy link
Contributor

bo-ms commented Mar 20, 2023

Closing. Created internal task for investigation.

@bo-ms bo-ms closed this as completed Mar 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants