Print the current dubbo version number (#1018)

pull/1026/head
baymax55 2 years ago committed by GitHub
parent 305a2edcf5
commit ee2f7be387
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -114,7 +114,7 @@ public class DubboThreadPoolAdapter implements ThreadPoolAdapter, ApplicationLis
ConcurrentMap<Integer, ExecutorService> executorServiceMap = data.get(poolKey);
executorServiceMap.forEach((key, value) -> DUBBO_PROTOCOL_EXECUTOR.put(String.valueOf(key), (ThreadPoolExecutor) value));
} catch (Exception ex) {
log.error("Failed to get Dubbo {}.X protocol thread pool", isLegacyVersion ? "2" : "3", ex);
log.error("Failed to get Dubbo {} protocol thread pool", Version.getVersion(), ex);
}
}
}

Loading…
Cancel
Save