Skip to content

Commit b5cdb0c

Browse files
committed
Better logging when resuming with pause and no checkpoint
1 parent 7652d8e commit b5cdb0c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

apps/webapp/app/v3/services/resumeBatchRun.server.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,9 @@ export class ResumeBatchRunService extends BaseService {
122122
// When the checkpoint is created, it will continue the run
123123
logger.error("ResumeBatchRunService: attempt is paused but there's no checkpoint event", {
124124
batchRunId: batchRun.id,
125-
dependentTaskAttemptId: batchRun.dependentTaskAttempt.id,
125+
dependentTaskAttempt: batchRun.dependentTaskAttempt,
126+
checkpointEventId: batchRun.checkpointEventId,
127+
hasCheckpointEvent: !!batchRun.checkpointEventId,
126128
});
127129
return;
128130
}

0 commit comments

Comments
 (0)