From a9f387b1d71bb3fc42097aa58dadb83f1e3f08e4 Mon Sep 17 00:00:00 2001 From: dhb52 Date: Tue, 27 Aug 2024 16:56:11 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=AE=A2=E6=88=B7=E7=AB=AF=E9=87=8D?= =?UTF-8?q?=E5=A4=8D=E6=89=A7=E8=A1=8C=E5=99=A8=E5=90=8D=E7=A7=B0=EF=BC=8C?= =?UTF-8?q?=E5=BC=82=E5=B8=B8=E4=BF=A1=E6=81=AF=E6=98=BE=E7=A4=BA=E6=9C=89?= =?UTF-8?q?=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../snailjob/client/job/core/register/JobExecutorRegistrar.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snail-job-client/snail-job-client-job-core/src/main/java/com/aizuda/snailjob/client/job/core/register/JobExecutorRegistrar.java b/snail-job-client/snail-job-client-job-core/src/main/java/com/aizuda/snailjob/client/job/core/register/JobExecutorRegistrar.java index f1f7f347f..8adeab4cc 100644 --- a/snail-job-client/snail-job-client-job-core/src/main/java/com/aizuda/snailjob/client/job/core/register/JobExecutorRegistrar.java +++ b/snail-job-client/snail-job-client-job-core/src/main/java/com/aizuda/snailjob/client/job/core/register/JobExecutorRegistrar.java @@ -22,7 +22,7 @@ public class JobExecutorRegistrar implements Lifecycle { public void registerRetryHandler(JobExecutorInfo jobExecutorInfo) { if (JobExecutorInfoCache.isExisted(jobExecutorInfo.getExecutorName())) { - throw new SnailJobClientException("不允许executorName重复的", jobExecutorInfo.getExecutorName()); + throw new SnailJobClientException("不允许执行器名称重复: {}", jobExecutorInfo.getExecutorName()); } JobExecutorInfoCache.put(jobExecutorInfo);