make resty not throw an exception for non-200 responses

read from the error stream instead of the normal one - everything else just works