Martin Peřina has uploaded a new change for review.

Change subject: tools: Fixes invalid server hostname error message
......................................................................

tools: Fixes invalid server hostname error message

Fixes error message when invalid hostname is entered in MAIL_SERVER

Change-Id: I0601c84a524ed40adb8efb3050a5d284bd4f0e0e
Bug-Url: https://bugzilla.redhat.com/1051093
Signed-off-by: Martin Perina <[email protected]>
---
M 
backend/manager/tools/src/main/java/org/ovirt/engine/core/notifier/utils/NotificationProperties.java
1 file changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/35/23135/1

diff --git 
a/backend/manager/tools/src/main/java/org/ovirt/engine/core/notifier/utils/NotificationProperties.java
 
b/backend/manager/tools/src/main/java/org/ovirt/engine/core/notifier/utils/NotificationProperties.java
index 5142ab7..590a520 100644
--- 
a/backend/manager/tools/src/main/java/org/ovirt/engine/core/notifier/utils/NotificationProperties.java
+++ 
b/backend/manager/tools/src/main/java/org/ovirt/engine/core/notifier/utils/NotificationProperties.java
@@ -153,8 +153,8 @@
         } catch (Exception ex) {
             throw new IllegalArgumentException(
                     String.format(
-                            "Check configuration file, cannot verify '%s' 
value",
-                            NotificationProperties.MAIL_SERVER),
+                            "Check configuration file, MAIL_SERVER host name 
'%s' cannot be resolved",
+                            getProperty(MAIL_SERVER)),
                     ex);
         }
 


-- 
To view, visit http://gerrit.ovirt.org/23135
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I0601c84a524ed40adb8efb3050a5d284bd4f0e0e
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Martin Peřina <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to