pass back request errors to callback

tiny patch to pass errors from request back to callback.