Skip to content

Commit

Permalink
Add log messages to results spreadsheet app (#2503)
Browse files Browse the repository at this point in the history
  • Loading branch information
shirmoran authored Oct 9, 2024
1 parent bce90e6 commit 05b578f
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,8 @@ func createSingleWorkloadRawResultsSpreadSheet(sheetService *sheets.Service, dri
return nil, err
}

log.Printf("%s workload's results sheet has been created.\n", workloadName)

return workloadResultsSpreadsheet, nil
}

Expand Down Expand Up @@ -321,15 +323,19 @@ func generateResultsSpreadSheet() {
log.Fatalf("Unable to create main results folder: %v", err)
}

log.Printf("Generating raw results sheet...")
rawResultsSheet, err := createRawResultsSheet(resultsFilePath)
if err != nil {
log.Fatalf("Unable to create raw results sheet: %v", err)
}
log.Printf("Raw results sheet has been generated.")

log.Printf("Generating conclusion sheet...")
conclusionSheet, err := createConclusionsSheet(sheetService, driveService, rawResultsSheet, mainResultsFolder.Id)
if err != nil {
log.Fatalf("Unable to create conclusions sheet: %v", err)
}
log.Printf("Conclusion sheet has been generated.")

spreadsheet := &sheets.Spreadsheet{
Properties: &sheets.SpreadsheetProperties{
Expand Down

0 comments on commit 05b578f

Please sign in to comment.