mirror of
https://gitee.com/mybatis-flex/mybatis-flex.git
synced 2025-12-08 09:38:26 +08:00
fix: 忽略异常。
This commit is contained in:
parent
dcce259e08
commit
d9f0161999
@ -43,7 +43,11 @@ public class DataSourceManager {
|
||||
return;
|
||||
}
|
||||
|
||||
restartDataSource(dataSource);
|
||||
try {
|
||||
restartDataSource(dataSource);
|
||||
} catch (Exception ignored) {
|
||||
// do nothing here.
|
||||
}
|
||||
|
||||
for (DataSourceProperty property : DataSourceProperty.values()) {
|
||||
Method getterMethod = ClassUtil.getAnyMethod(dataSource.getClass(), property.getGetterMethods());
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user