mirror of
https://gitee.com/mybatis-flex/mybatis-flex.git
synced 2025-12-07 17:18:24 +08:00
feat: optimize DataSourceBuilder.java; close #I7YYRF
This commit is contained in:
parent
eff6e06641
commit
60ed0bf955
@ -70,7 +70,7 @@ public class DataSourceBuilder {
|
||||
setDataSourceProperties(dataSourceObject);
|
||||
return (DataSource) dataSourceObject;
|
||||
} catch (Exception e) {
|
||||
throw FlexExceptions.wrap(LocalizedFormats.DATASOURCE_CAN_NOT_INSTANCE, dataSourceClassName);
|
||||
throw FlexExceptions.wrap(e, LocalizedFormats.DATASOURCE_CAN_NOT_INSTANCE, dataSourceClassName);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user