From ad4ea9020751e9040aaae54acc8c546521999c62 Mon Sep 17 00:00:00 2001 From: abhishek Date: Mon, 27 Sep 2010 17:01:01 -0700 Subject: [PATCH] bug 5190: enhancing some of the error messages returned to be more intuitive --- server/src/com/cloud/api/commands/UpdateCertificateCmd.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/src/com/cloud/api/commands/UpdateCertificateCmd.java b/server/src/com/cloud/api/commands/UpdateCertificateCmd.java index e65e3d26a29..16b9c6f400e 100644 --- a/server/src/com/cloud/api/commands/UpdateCertificateCmd.java +++ b/server/src/com/cloud/api/commands/UpdateCertificateCmd.java @@ -60,8 +60,8 @@ public class UpdateCertificateCmd extends BaseCmd { return returnValues; } catch (Exception ex) { - s_logger.error("Exception adding config value: ", ex); - throw new ServerApiException(BaseCmd.INTERNAL_ERROR, "Failed to add config value : " + ex.getMessage()); + s_logger.error("Exception updating the ssl certificate in db: ", ex); + throw new ServerApiException(BaseCmd.INTERNAL_ERROR, "Exception updating the ssl certificate in db: " + ex.getMessage()); } }