Skip to content

Commit c08ee60

Browse files
authored
exit() methods should not reraise the passed-in exception (#357)
Signed-off-by: Pintaudi Giorgio <[email protected]>
1 parent 6daacbc commit c08ee60

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

launch_testing_ros/launch_testing_ros/wait_for_topics.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,6 @@ def __enter__(self):
9393
return self
9494

9595
def __exit__(self, exep_type, exep_value, trace):
96-
if exep_type is not None:
97-
raise Exception('Exception occured, value: ', exep_value)
9896
self.shutdown()
9997

10098

0 commit comments

Comments
 (0)