Add optional logging to _az_RETURN_IF_* #2608
Labels
Azure.Core
Client
This issue points to a problem in the data-plane of the library.
feature-request
This issue requires a new behavior in the product in order be resolved.
Is your feature request related to a problem? Please describe.
I'm always frustrated when I can't figure out which exact
_az_RETURN_IF_FAILED
returned from my SDK function. (for example, in _az_iot_provisioning_client_payload_registration_state_parse())Describe the solution you'd like
A clear and concise description of which line of code failed should exist in the logs:
_az_RETURN_IF_FAILED(az_json_reader_next_token(jr)); in az_iot_provisioning_client.c:322
This functionality should be optional as it does increase the binary size substantially.
Additional context
Add any other context or screenshots about the feature request here.
Information Checklist
Please make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report
The text was updated successfully, but these errors were encountered: