Skip to content

Commit

Permalink
testtool: log attestation errors
Browse files Browse the repository at this point in the history
Signed-off-by: Simon Ott <[email protected]>
  • Loading branch information
smo4201 committed Feb 19, 2024
1 parent 16d9cb3 commit 70f17c3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions testtool/tls.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ func dialInternalAddr(c *config, api atls.CmcApiSelect, addr string, tlsConf *tl
defer wg.Wait()
go publishResultAsync(c.Publish, result, wg)
}
// Log errors if any
result.PrintErr()
}),
atls.WithCmc(cmc))
if err != nil {
Expand Down Expand Up @@ -203,6 +205,8 @@ func listenInternal(c *config, api atls.CmcApiSelect, cmc *cmc.Cmc) {
// and result is not empty
go publishResult(c.Publish, result)
}
// Log errors if any
result.PrintErr()
}),
atls.WithCmc(cmc))
if err != nil {
Expand Down

0 comments on commit 70f17c3

Please sign in to comment.