Skip to content

Commit

Permalink
tools/rw-heatmaps: print error on failure
Browse files Browse the repository at this point in the history
Signed-off-by: Ivan Valdes <[email protected]>
  • Loading branch information
ivanvc committed Feb 15, 2024
1 parent 1a1e78a commit dc2d066
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tools/rw-heatmaps/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,15 @@
package main

import (
"fmt"
"os"

"go.etcd.io/etcd/tools/rw-heatmaps/v3/cmd"
)

func main() {
if err := cmd.NewRootCommand().Execute(); err != nil {
fmt.Fprintf(os.Stderr, "error: %v\n", err.Error())
os.Exit(1)
}
}

0 comments on commit dc2d066

Please sign in to comment.