Improved logging in 229 to 2210 upgrade

This commit is contained in:
alena 2011-08-13 00:53:06 -07:00
parent d4990c82ca
commit 829ee7b241
1 changed files with 1 additions and 1 deletions

View File

@ -116,7 +116,7 @@ public class Upgrade229to2210 implements DbUpgrade {
if (rs1.next()) {
firewallRuleId = rs1.getLong(1);
} else {
throw new CloudRuntimeException("Unable to find just inserted firewall rule for ptocol " + protocol + ", start_port " + startPort + " and end_port " + endPort);
throw new CloudRuntimeException("Unable to find just inserted firewall rule for ptocol " + protocol + ", start_port " + startPort + " and end_port " + endPort + " and ip address id=" + ipId);
}
pstmt = conn.prepareStatement("select id from firewall_rules_cidrs where firewall_rule_id=?");