-
Notifications
You must be signed in to change notification settings - Fork 673
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
Refactoring Error Handling & Return Varaibles #1998
Comments
This is addressed in this PR: https://github.com/absmach/magistrala/pull/2119 |
This https://github.com/absmach/magistrala/pull/2088#discussion_r1557171749 should also be resolved in this issue. |
It is already being solved in this PR: https://github.com/absmach/magistrala/pull/2119 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ENHANCEMENT
Description:
Suggestion 1:
In a substantial portion of the codebase, functions tend to return the outcome of a call directly, neglecting the handling of potential errors stemming from these calls.
Example:
Desired Solution:
Refactor these functions to incorporate error handling:
Suggestion 2:
Function with return struct/variable and error should return empty struct/variable on error return
Not looks function
Looks good function
must-have
The text was updated successfully, but these errors were encountered: