mirror of
https://github.com/Sean-Der/fail2rest.git
synced 2024-12-22 13:42:17 +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)
|
jailHandler(r.PathPrefix("/jail").Subrouter(), fail2goConn)
|
||||||
|
|
||||||
http.Handle("/", r)
|
http.Handle("/", r)
|
||||||
http.ListenAndServe(configuration.Addr, nil)
|
fmt.Println(http.ListenAndServe(configuration.Addr, nil))
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue