Fixed error handling for rx examples