StephanEwen commented on a change in pull request #13776: URL: https://github.com/apache/flink/pull/13776#discussion_r519434849
########## File path: flink-connectors/flink-connector-base/src/main/java/org/apache/flink/connector/base/source/reader/fetcher/SplitFetcherManager.java ########## @@ -112,7 +111,7 @@ public void accept(Throwable t) { public abstract void addSplits(List<SplitT> splitsToAdd); protected void startFetcher(SplitFetcher<E, SplitT> fetcher) { - executors.submit(new ThrowableCatchingRunnable(errorHandler, fetcher)); + executors.submit(fetcher); Review comment: I personally like the change - less wrapping tends to make code navigation easier. But this is a matter of taste here, either way looks totally fine. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org