Merge branch '2.2.x' into 2.3.x

Closes gh-23569
This commit is contained in:
Madhura Bhave
2020-10-01 18:19:35 -07:00
2 changed files with 26 additions and 2 deletions

View File

@@ -17,7 +17,6 @@
package org.springframework.boot.autoconfigure.h2;
import java.sql.Connection;
import java.sql.SQLException;
import javax.sql.DataSource;
@@ -74,7 +73,7 @@ public class H2ConsoleAutoConfiguration {
logger.info("H2 console available at '" + path + "'. Database available at '"
+ connection.getMetaData().getURL() + "'");
}
catch (SQLException ex) {
catch (Exception ex) {
// Continue
}
});