Skip to content
This repository has been archived by the owner on Mar 8, 2023. It is now read-only.

Commit

Permalink
Println and exit instead of panic
Browse files Browse the repository at this point in the history
  • Loading branch information
florisvdg committed Feb 25, 2019
1 parent 2068a19 commit 64ac420
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ func init() {
func main() {
err := startHTTPServer()
if err != nil {
panic(err)
fmt.Println(err)
os.Exit(1)
}
}

Expand Down

0 comments on commit 64ac420

Please sign in to comment.