mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-6242: catching all to allow continuation on configuration
error (CLOUDSTACK-7039 through CLOUDSTACK-7042)
This commit is contained in:
parent
48574f2d60
commit
b2d613f536
|
|
@ -512,9 +512,9 @@ public class ConfigurationServerImpl extends ManagerBase implements Configuratio
|
|||
PreparedStatement stmt = txn.prepareAutoCloseStatement(checkSql);
|
||||
stmt.executeQuery();
|
||||
tableName = "network_group";
|
||||
} catch (SQLException ex) {
|
||||
} catch (Exception ex) {
|
||||
// if network_groups table exists, create the default security group there
|
||||
s_logger.debug("Caught SQLException: no network_group ", ex);
|
||||
s_logger.debug("Caught (SQL?)Exception: no network_group " + ex.getLocalizedMessage());
|
||||
}
|
||||
|
||||
insertSql = "SELECT * FROM " + tableName + " where account_id=2 and name='default'";
|
||||
|
|
|
|||
Loading…
Reference in New Issue