We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When an exception raised in callback function of a service ,this function will log it to rosout:
ros_comm/clients/rospy/src/rospy/impl/tcpros_service.py
Lines 581 to 582 in 842f0f0
However the return value of traceback.format_exception() is a list which cause it's hard to read the traceback message:
traceback.format_exception()
[ERROR] [1680007708.746949]: Error processing request:['Traceback (most recent call last):\n', ' File "/opt/ros/melodic/lib/python2.7/dist-packages/rospy/impl/tcpros_service.py", line 633,in _handle_request\n response = convert_return_to_response(self.handler(request), self.response_class)\n', ...
Can we use ''.join() or traceback.format_exc() like the code below to get a better format?
''.join()
traceback.format_exc()
ros_comm/clients/rospy/src/rospy/topics.py
Line 753 in 842f0f0
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When an exception raised in callback function of a service ,this function will log it to rosout:
ros_comm/clients/rospy/src/rospy/impl/tcpros_service.py
Lines 581 to 582 in 842f0f0
However the return value of
traceback.format_exception()
is a list which cause it's hard to read the traceback message:Can we use
''.join()
ortraceback.format_exc()
like the code below to get a better format?ros_comm/clients/rospy/src/rospy/topics.py
Line 753 in 842f0f0
The text was updated successfully, but these errors were encountered: