Skip to content

Commit 4674c9b

Browse files
committed
feat: 更新找不到registry时候的错误文案
1 parent 73d28cd commit 4674c9b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dataloader-plus-core/src/main/java/com/github/lokic/dataloaderplus/core/proxy/ServiceInvocationHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public Object invoke(Object proxy, Method method, Object[] args) throws Throwabl
3636
if (registry == null) {
3737
//see https://www.graphql-java.com/documentation/v16/batching/
3838
throw new IllegalArgumentException("@DataLoaderService need in DataLoaderTemplate block " +
39-
"or not support an asynchronous off thread call to a DataLoader");
39+
"or call to a DataLoader in an asynchronous off thread");
4040
}
4141

4242
int contextIndex = findContextIndex(method);

0 commit comments

Comments
 (0)