Skip to content

Commit

Permalink
show errs
Browse files Browse the repository at this point in the history
  • Loading branch information
c4po committed Apr 2, 2024
1 parent 3cf0465 commit 46bf1c6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion internal/wrapper/wrapper.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@ func RunTerraform(args []string, arch string) (int, error) {

log.Printf("version '%s' matches all constraints", matchingRelease.Version)

if checkStateCommand(args, matchingRelease.Version) != nil {
err = checkStateCommand(args, matchingRelease.Version)
if err != nil {
log.SetOutput(os.Stderr)
log.Fatal("error: ", err)
}
Expand Down

0 comments on commit 46bf1c6

Please sign in to comment.