mirror of
https://github.com/tenox7/wrp.git
synced 2024-12-22 21:29:29 +00:00
print error message when failed to start server
This commit is contained in:
parent
64f86b4fd9
commit
d9381ef71a
2
wrp.go
2
wrp.go
@ -284,5 +284,5 @@ func main() {
|
|||||||
http.HandleFunc("/favicon.ico", http.NotFound)
|
http.HandleFunc("/favicon.ico", http.NotFound)
|
||||||
log.Printf("Web Rendering Proxy Version %s\n", version)
|
log.Printf("Web Rendering Proxy Version %s\n", version)
|
||||||
log.Printf("Starting WRP http server on %s\n", addr)
|
log.Printf("Starting WRP http server on %s\n", addr)
|
||||||
http.ListenAndServe(addr, nil)
|
log.Fatal(http.ListenAndServe(addr, nil))
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user