You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
Adding unique return codes -> this would greatly bloat the number of return codes.
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
The text was updated successfully, but these errors were encountered: