Skip to content

Commit

Permalink
Check TND start error in examples/tnd
Browse files Browse the repository at this point in the history
Signed-off-by: hwipl <[email protected]>
  • Loading branch information
hwipl committed Dec 13, 2023
1 parent 0d54bed commit 180c440
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion examples/tnd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,9 @@ func main() {
t.SetServers(httpsServers)

// start tnd
t.Start()
if err := t.Start(); err != nil {
log.Fatal(err)
}
for r := range t.Results() {
log.WithField("trusted", r).Info("TND result")
}
Expand Down

0 comments on commit 180c440

Please sign in to comment.