Skip to content

Commit 601d3de

Browse files
authored
Better step timeout message. (#3166)
1 parent 034c51c commit 601d3de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Runner.Worker/StepsRunner.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ private async Task RunStepAsync(IStep step, CancellationToken jobCancellationTok
295295
!jobCancellationToken.IsCancellationRequested)
296296
{
297297
Trace.Error($"Caught timeout exception from step: {ex.Message}");
298-
step.ExecutionContext.Error("The action has timed out.");
298+
step.ExecutionContext.Error($"The action '{step.DisplayName}' has timed out after {timeoutMinutes} minutes.");
299299
step.ExecutionContext.Result = TaskResult.Failed;
300300
}
301301
else

0 commit comments

Comments
 (0)