bug 5190: enhancing some of the error messages returned to be more intuitive

This commit is contained in:
abhishek 2010-09-27 17:01:01 -07:00
parent 89cce1a023
commit ad4ea90207

View File

@ -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());
}
}