Skip to content

Commit

Permalink
[Improve] Improve CheckpointCoordinator log error when report error f…
Browse files Browse the repository at this point in the history
…rom task (apache#178)
  • Loading branch information
Hisoka-X authored Jul 22, 2023
1 parent d6e9327 commit 1023e15
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,9 @@ public InvocationFuture<?>[] notifyTaskStart() {

public void reportCheckpointErrorFromTask(String errorMsg) {
handleCoordinatorError(
CheckpointCloseReason.CHECKPOINT_INSIDE_ERROR, new SeaTunnelException(errorMsg));
"report error from task",
new SeaTunnelException(errorMsg),
CheckpointCloseReason.CHECKPOINT_INSIDE_ERROR);
}

private void scheduleTriggerPendingCheckpoint(long delayMills) {
Expand Down

0 comments on commit 1023e15

Please sign in to comment.