Provide better error message for respond_to.