Skip to content

Commit

Permalink
Actually log any failures from the HTTP listener.
Browse files Browse the repository at this point in the history
  • Loading branch information
LTLA committed Apr 18, 2024
1 parent c4a3cdb commit 8c0aea2
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 @@ -291,5 +291,5 @@ func main() {
}()

// Setting up the API.
http.ListenAndServe("0.0.0.0:" + strconv.Itoa(*port), nil)
log.Fatal(http.ListenAndServe("0.0.0.0:" + strconv.Itoa(*port), nil))
}

0 comments on commit 8c0aea2

Please sign in to comment.