Updated. Thought about it. Your approach is better from the perspective of avoiding catching other NoSuchElementExceptions that are not caused by this issue.
[ Full content available at: https://github.com/apache/beam/pull/6309 ] This message was relayed via gitbox.apache.org for [email protected]
