Fix wrong variable name in onRequestError().