Skip to content

Commit 3fe468c

Browse files
K0zkachiradeep
authored andcommitted
fix exception message
changed the exception message to include accountName instead of account, since account at this point is known to be null Signed-off-by: Laszlo Hornyak <laszlo.hornyak@gmail.com> Signed-off-by: Chiradeep Vittal <chiradeep@apache.org>
1 parent b68dd4c commit 3fe468c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎api/src/org/apache/cloudstack/api/command/user/loadbalancer/CreateLoadBalancerRuleCmd.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ public long getAccountId() {
316316
if (account != null) {
317317
return account.getId();
318318
} else {
319-
throw new InvalidParameterValueException("Unable to find account " + account + " in domain id=" + domainId);
319+
throw new InvalidParameterValueException("Unable to find account " + accountName + " in domain id=" + domainId);
320320
}
321321
} else {
322322
throw new InvalidParameterValueException("Can't define IP owner. Either specify account/domainId or publicIpId");

0 commit comments

Comments
 (0)