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

Add OSAL debug messages for cases where multiple error conditions result in the same return code #609

Open
ejtimmon opened this issue Sep 29, 2020 · 0 comments

Comments

@ejtimmon
Copy link

Is your feature request related to a problem? Please describe.
There are multiple functions in which multiple error conditions result in the same return code. For instance, in OS_FileRename_Impl, the return code OS_ERROR is used for any failure of the rename() function. This obscures the cause of the error and makes debugging more challenging.

Describe the solution you'd like
Add an OS_Debug statement in these cases to provide additional information (such as errno value) describing the specific cause of the error.

Describe alternatives you've considered
Alternatives include:

Additional context

Requester Info
Elizabeth Timmons/NASA GSFC Code 582

jphickey pushed a commit to jphickey/osal that referenced this issue Aug 10, 2022

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
…ble log
jphickey pushed a commit to jphickey/osal that referenced this issue Aug 10, 2022
Fix nasa#609, Remove CFE_PLATFORM_EVS_LOG_ON undefined option to diasble log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants