Improve error message handling for spdlog#110
Draft
christophebedard wants to merge 2 commits intoros2:rollingfrom
Draft
Improve error message handling for spdlog#110christophebedard wants to merge 2 commits intoros2:rollingfrom
christophebedard wants to merge 2 commits intoros2:rollingfrom
Conversation
Signed-off-by: Christophe Bedard <christophe.bedard@apex.ai>
Member
Author
|
This is a draft pending higher-level discussion for overall error message handling. |
Signed-off-by: Christophe Bedard <christophe.bedard@apex.ai>
clalancette
reviewed
Feb 29, 2024
Contributor
clalancette
left a comment
There was a problem hiding this comment.
In short, this seems reasonable to me. I'm going to hold off on approving since this is still a draft and we need to have the higher-level discussion.
fujitatomoya
reviewed
Mar 1, 2024
Collaborator
fujitatomoya
left a comment
There was a problem hiding this comment.
draft looks good to me
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Kind of relates to ros2/rcutils#269
rcl_logging_spdlog'srcl_logging_external_initialize(): in case ofrcl_logging_get_logging_directory()failure, append error message instead of overwriting it without resetting it (and thus generating a "This error state is being overwritten" warning)rcl_logging_external_initialize()must/should(?) set an error message if it returnsRCL_LOGGING_RET_ERRORThis results in
rcl_logging_spdlog/test/test_logging_interface.cppnot generating any "This error state is being overwritten" warnings.