Skip to content

Commit

Permalink
feat: change to error format
Browse files Browse the repository at this point in the history
Co-authored-by: ccoVeille <[email protected]>
  • Loading branch information
AlejandroSuero and ccoVeille authored Sep 8, 2024
1 parent d340702 commit ce901c1
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 @@ -87,7 +87,7 @@ func main() {
if err != nil {
if input != "" {
// show the full error message output
printErrorFatal("Something went wrong", errors.New(input))
err = fmt.Errorf("%w %s", err, input)
}
printErrorFatal("Something went wrong", err)
}
Expand Down

0 comments on commit ce901c1

Please sign in to comment.