We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 831c6f7 commit b21fd96Copy full SHA for b21fd96
smach_ros/smach_ros/simple_action_state.py
@@ -248,7 +248,7 @@ def _execution_timer(self):
248
with self._done_cond:
249
self._done_cond.notify()
250
time.sleep(0.1)
251
- except Exception as e:
+ except (RuntimeError, TypeError) as e:
252
self.node.get_logger().error(
253
f"Caught exception: {str(e)}. Failed to sleep while running '{self._action_name}'")
254
break
0 commit comments