feat: optimize DataSourceBuilder.java; close #I7YYRF

This commit is contained in:
开源海哥 2023-09-06 15:19:43 +08:00
parent eff6e06641
commit 60ed0bf955

View File

@ -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);
}
}