Fixed error messages not printing to terminal#777
Conversation
Signed-off-by: Yathartha Tuladhar <yathartha3@gmail.com>
Signed-off-by: Yathartha Tuladhar <yathartha3@gmail.com>
Signed-off-by: Yathartha Tuladhar <yathartha3@gmail.com>
3281631 to
6e6bacd
Compare
|
Fixes #776 |
|
What’s the deal with that todo comment by @Karsten1987 ? Why was this code commented out in the first place? |
|
Strange. CI for Windows interprets the error message (which is correctly produced in the test output) as a build warning. This likely what the TODO is about. |
|
That must be what the todo comment meant. :-/ |
yathartha3
left a comment
There was a problem hiding this comment.
Removed the "\n" characters from the log message
Update lifecycle_node_interface_impl.hpp Signed-off-by: Yathartha Tuladhar <yathartha3@gmail.com>
bdd373c to
0bee971
Compare
Thanks, unfortunately it looks like the build warning persists. |
|
Just change "Original error msg:" to "Original error" and you should be good. Also, we should file an upstream bug against ros2/ci. The Jenkins warnings plugin responsible for this CI failure is deprecated. Edit: ✅issues filed I was able to reproduce the problem with this regex tester: Put this in the "regular expression" field: Check the "^ and $ match EOL (MULTILINE)" field. |
|
@rotu Nice, thanks for looking into it! |
Signed-off-by: Jacob Perron <jacob@openrobotics.org>
|
|
* Uncommented catch exception code to print error Signed-off-by: Yathartha Tuladhar <yathartha3@gmail.com> * put back the e Signed-off-by: Yathartha Tuladhar <yathartha3@gmail.com> * uncommented error printing in exception handling Signed-off-by: Yathartha Tuladhar <yathartha3@gmail.com> * Removed "/n" characters. Update lifecycle_node_interface_impl.hpp Signed-off-by: Yathartha Tuladhar <yathartha3@gmail.com> * Fix CI issue and remove TODO Signed-off-by: Jacob Perron <jacob@openrobotics.org>
* Uncommented catch exception code to print error Signed-off-by: Yathartha Tuladhar <yathartha3@gmail.com> * put back the e Signed-off-by: Yathartha Tuladhar <yathartha3@gmail.com> * uncommented error printing in exception handling Signed-off-by: Yathartha Tuladhar <yathartha3@gmail.com> * Removed "/n" characters. Update lifecycle_node_interface_impl.hpp Signed-off-by: Yathartha Tuladhar <yathartha3@gmail.com> * Fix CI issue and remove TODO Signed-off-by: Jacob Perron <jacob@openrobotics.org>
Signed-off-by: Michel Hidalgo <michel@ekumenlabs.com>
Currently, some ROS2 node exception handling error messages are not being printed to the terminal because the print command was commented out. I have removed the comments and it is working in my system (Ubuntu 18.04, with ROS2).
This will help the debugging process since now, the error messages will be visible.