Skip to content

Commit

Permalink
Print the current dubbo version number (opengoofy#1018)
Browse files Browse the repository at this point in the history
  • Loading branch information
baymax55 authored Nov 27, 2022
1 parent 305a2ed commit ee2f7be
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ public void onApplicationEvent(ApplicationStartedEvent event) {
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);
}
}
}

0 comments on commit ee2f7be

Please sign in to comment.