Skip to content

Commit

Permalink
make errors more helpful
Browse files Browse the repository at this point in the history
  • Loading branch information
HikariKnight committed Apr 7, 2023
1 parent c35f88c commit 5cbc041
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/errorcheck/errorcheck.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ import "log"

func ErrorCheck(err error) {
if err != nil {
log.Fatal(err)
log.Fatal(err.Error())
}
}

0 comments on commit 5cbc041

Please sign in to comment.