Improved error output in yt-surl.c