Skip to content

Commit

Permalink
fix(errors): log the actual error instead of just formatting it (#178)
Browse files Browse the repository at this point in the history
  • Loading branch information
fieldju authored Jul 28, 2023
1 parent 4ec3c8b commit 184a7d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,6 @@ func main() {
}

// else assume it's a plain error
color.New(color.FgRed, color.Bold).Sprintln(err.Error())
console.Stderrln(color.New(color.FgRed, color.Bold).Sprintln(err.Error()))
os.Exit(int(exitcodes.Error))
}

0 comments on commit 184a7d6

Please sign in to comment.