mirror of
https://github.com/Sean-Der/fail2rest.git
synced 2024-12-22 21:52:18 +01:00
Print return value when starting HTTP handler for better error display
This commit is contained in:
parent
6ac04f33cf
commit
3b85ffd1fc
1 changed files with 1 additions and 1 deletions
|
@ -43,5 +43,5 @@ func main() {
|
|||
jailHandler(r.PathPrefix("/jail").Subrouter(), fail2goConn)
|
||||
|
||||
http.Handle("/", r)
|
||||
http.ListenAndServe(configuration.Addr, nil)
|
||||
fmt.Println(http.ListenAndServe(configuration.Addr, nil))
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue