[ros-diffs] [hpoussin] 19985: Set right error code, when a problem occurs