From d9381ef71a65849616e25a2836b7b7cce577afda Mon Sep 17 00:00:00 2001 From: Antoni Sawicki Date: Sat, 8 Jun 2019 17:30:30 -0700 Subject: [PATCH] print error message when failed to start server --- wrp.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wrp.go b/wrp.go index d7fc95c..3b94c4e 100644 --- a/wrp.go +++ b/wrp.go @@ -284,5 +284,5 @@ func main() { http.HandleFunc("/favicon.ico", http.NotFound) log.Printf("Web Rendering Proxy Version %s\n", version) log.Printf("Starting WRP http server on %s\n", addr) - http.ListenAndServe(addr, nil) + log.Fatal(http.ListenAndServe(addr, nil)) }