From fafa2dcbad07d14e8ce57a4e05c76d1c9e8f3af2 Mon Sep 17 00:00:00 2001 From: Shingo Kitagawa Date: Sat, 7 Aug 2021 23:25:51 +0900 Subject: [PATCH] set_aborted when error in tweet_image_server.py --- rostwitter/scripts/tweet_image_server.py | 1 + 1 file changed, 1 insertion(+) diff --git a/rostwitter/scripts/tweet_image_server.py b/rostwitter/scripts/tweet_image_server.py index 1a0e56f30..70acff7dd 100755 --- a/rostwitter/scripts/tweet_image_server.py +++ b/rostwitter/scripts/tweet_image_server.py @@ -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: