Skip to content

Commit

Permalink
fix missing error handling from main thread
Browse files Browse the repository at this point in the history
Signed-off-by: grantseltzer <[email protected]>
  • Loading branch information
grantseltzer committed Dec 25, 2019
1 parent 652539f commit 5cb55e2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmd/generate/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import (
"encoding/json"
"errors"
"fmt"
"log"

libentitlements "github.com/grantseltzer/karn/pkg/entitlements"
"github.com/spf13/cobra"
Expand Down Expand Up @@ -48,7 +49,7 @@ func main() {

err := karnCommand.Execute()
if err != nil {

log.Fatal(err)
}
}

Expand Down

0 comments on commit 5cb55e2

Please sign in to comment.