Skip to content

Commit

Permalink
Merge pull request #454 from 130s/master
Browse files Browse the repository at this point in the history
hrpsys_ros_bridge/collision_state.py) Use logerr to highlight an error that could be overlooked
  • Loading branch information
k-okada committed May 16, 2014
2 parents fd29c7b + 1999d79 commit 71693da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hrpsys_ros_bridge/scripts/collision_state.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ def collision_state() :
try :
collision_state()
except (CORBA.OBJECT_NOT_EXIST, omniORB.CORBA.TRANSIENT, omniORB.CORBA.BAD_PARAM, omniORB.CORBA.COMM_FAILURE), e :
print "[collision_state.py] catch exception, restart rtc_init", e
rospy.logerr("[collision_state.py] catch exception, restart rtc_init.\nMake sure collision_pair is set in .conf file. See https://github.com/start-jsk/rtmros_common/issues/247\nOriginal exception: {}".format(e))
time.sleep(2)
rtc_init()
except Exception as e:
Expand Down

0 comments on commit 71693da

Please sign in to comment.