add log message on startup
This commit is contained in:
parent
1e367932ba
commit
e95238f6a0
@ -27,6 +27,7 @@ func main() {
|
|||||||
}
|
}
|
||||||
defer ws.Close()
|
defer ws.Close()
|
||||||
|
|
||||||
|
fmt.Printf("YATWiki now listening on %s\n", *bindAddr)
|
||||||
err = http.ListenAndServe(*bindAddr, ws)
|
err = http.ListenAndServe(*bindAddr, ws)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
fmt.Fprintln(os.Stderr, err.Error())
|
fmt.Fprintln(os.Stderr, err.Error())
|
||||||
|
Loading…
Reference in New Issue
Block a user