Skip to content

Commit

Permalink
fix lint test
Browse files Browse the repository at this point in the history
  • Loading branch information
RamanaReddy0M committed Sep 5, 2024
1 parent d80afc0 commit b755d3d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion internal/runner/runner.go
Original file line number Diff line number Diff line change
Expand Up @@ -822,7 +822,9 @@ func UploadResultsToCloud(options *types.Options) error {
gologger.Warning().Msgf("Could not decode jsonl: %s\n", err)
continue
}
uploadWriter.Write(&r)
if err = uploadWriter.Write(&r); err != nil {
gologger.Warning().Msgf("[%s] failed to upload: %s\n", r.TemplateID, err)
}
}
uploadWriter.Close()
return nil
Expand Down

0 comments on commit b755d3d

Please sign in to comment.