Skip to content

Commit deb27c1

Browse files
committed
optimize
1 parent 0d81193 commit deb27c1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spring-boot-data-aggregator-core/src/main/java/io/github/lvyahui8/spring/aggregate/service/impl/DataBeanAggregateQueryServiceImpl.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,8 +146,8 @@ private Map<String, Object> getDependObjectMap(Map<String, Object> invokeParams,
146146
AbstractAsyncQueryTask queryTask = null;
147147
try {
148148
queryTask = taskClazz.newInstance();
149-
} catch (InstantiationException ignored) {
150-
//
149+
} catch (InstantiationException e) {
150+
throw new RuntimeException("task instance create failed.",e);
151151
}
152152
queryTask.setCallable(() -> {
153153
try {

0 commit comments

Comments
 (0)