yt: handle errors