Skip to content
This repository has been archived by the owner on Nov 5, 2020. It is now read-only.

Commit

Permalink
log errors
Browse files Browse the repository at this point in the history
  • Loading branch information
fogleman committed Apr 12, 2016
1 parent bae2733 commit 1c4da46
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 @@ -43,5 +43,5 @@ func main() {
http.Handle("/", handler)
addr := fmt.Sprintf(":%d", Port)
log.Printf("Listening on %s\n", addr)
http.ListenAndServe(addr, nil)
log.Fatal(http.ListenAndServe(addr, nil))
}

0 comments on commit 1c4da46

Please sign in to comment.