ros-drivers / axis_camera

Contains basic Python drivers for accessing an Axis camera's MJPG stream. Also provides control for PTZ cameras.
BSD 3-Clause "New" or "Revised" License
52 stars 74 forks source link

axis.py: log formatted exception information rather than printing it #19

Closed jack-oquin closed 9 years ago

jack-oquin commented 11 years ago

In axis.py line 31, there a traceback.print_exc().

That causes trouble when the node is running unattended, making problems hard to debug.

A better solution is:

rospy.logerr(traceback.format_exc())
awesomebytes commented 9 years ago

That was fixed :)