cmd/site: handle this error

This commit is contained in:
Cadey Ratio 2019-02-17 08:45:10 -08:00
parent 193c5e1635
commit ea284e3ef2
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,7 @@ func main() {
} }
ln.Log(context.Background(), ln.F{"action": "http_listening", "port": port}) ln.Log(context.Background(), ln.F{"action": "http_listening", "port": port})
http.ListenAndServe(":"+port, altOnionHandler(s)) ln.FatalErr(context.Background(), http.ListenAndServe(":"+port, altOnionHandler(s)))
} }
func requestIDMiddleware(next http.Handler) http.Handler { func requestIDMiddleware(next http.Handler) http.Handler {