caishunfeng commented on code in PR #14085:
URL: 
https://github.com/apache/dolphinscheduler/pull/14085#discussion_r1190765262


##########
dolphinscheduler-master/src/main/java/org/apache/dolphinscheduler/server/master/processor/MasterTaskPauseProcessor.java:
##########
@@ -55,9 +55,11 @@ public void process(Channel channel, Message message) {
         try (
                 LogUtils.MDCAutoClosableContext mdcAutoClosableContext = 
LogUtils.setWorkflowAndTaskInstanceIDMDC(
                         taskExecutionContext.getProcessInstanceId(), 
taskExecutionContext.getTaskInstanceId())) {
-            masterTaskExecuteRunnable.pauseTask();
-        } catch (MasterTaskExecuteException e) {
-            log.error("Pause MasterTaskExecuteRunnable failed", e);
+            try {

Review Comment:
   double try? should remove it



-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to