[ros-diffs] [janderwald] 39413: - Improve error checking