diff --git a/install/ui/src/freeipa/rpc.js b/install/ui/src/freeipa/rpc.js index 65bed7766..2eed6cc87 100644 --- a/install/ui/src/freeipa/rpc.js +++ b/install/ui/src/freeipa/rpc.js @@ -379,7 +379,8 @@ rpc.command = function(spec) { error_handler.call(this, xhr, text_status, /* error_thrown */ { name: text.get('@i18n:errors.http_error', 'HTTP Error')+' '+xhr.status, url: this.url, - message: data ? xhr.statusText : text.get('@i18n:errors.no_response', 'No response') + message: xhr ? xhr.statusText : + text.get('@i18n:errors.no_response', 'No response') }); } else if (IPA.version && data.version && IPA.version !== data.version) {