Skip to content

Commit

Permalink
set_aborted when error in tweet_image_server.py
Browse files Browse the repository at this point in the history
  • Loading branch information
knorth55 committed Aug 24, 2021
1 parent 4cee519 commit fafa2dc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rostwitter/scripts/tweet_image_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ def _execute_cb(self, goal):
if not ret or 'errors' in ret:
success = False
rospy.logerr('Failed to post: {}'.format(ret))
self.server.set_aborted()

if success:
if goal.speak:
Expand Down

0 comments on commit fafa2dc

Please sign in to comment.