mirror of
https://github.com/actions/runner.git
synced 2025-12-25 02:47:19 +08:00
Always upload to avoid issues (#2334)
* Remove unnecessary timelineId and timelineRecordId and use Guid stepId * Log upload error to kusto * Remove try-catch * Using a well known telmetry record to avoid replacing issues * fix Guid format
This commit is contained in:
@@ -113,6 +113,10 @@ namespace GitHub.Services.Results.Client
|
||||
{
|
||||
// Get the upload url
|
||||
var uploadUrlResponse = await GetStepSummaryUploadUrlAsync(planId, jobId, stepId, cancellationToken);
|
||||
if (uploadUrlResponse == null)
|
||||
{
|
||||
throw new Exception("Failed to get step summary upload url");
|
||||
}
|
||||
|
||||
// Do we want to throw an exception here or should we just be uploading/truncating the data
|
||||
var fileSize = new FileInfo(file).Length;
|
||||
|
||||
Reference in New Issue
Block a user