summaryrefslogtreecommitdiff
path: root/src/helsinki.at
diff options
context:
space:
mode:
Diffstat (limited to 'src/helsinki.at')
-rw-r--r--src/helsinki.at/rhrdtime/rhrdtime.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/helsinki.at/rhrdtime/rhrdtime.go b/src/helsinki.at/rhrdtime/rhrdtime.go
index bae588a..58ba896 100644
--- a/src/helsinki.at/rhrdtime/rhrdtime.go
+++ b/src/helsinki.at/rhrdtime/rhrdtime.go
@@ -91,11 +91,12 @@ func handleTimeUpdateClient(w http.ResponseWriter, r *http.Request, ps *pubsub.P
fmt.Println(err)
return
}
- fmt.Println("Client connected", ws.RemoteAddr())
+ fmt.Println("Client", ws.RemoteAddr(), "connected")
go func() {
for {
if _, _, err := ws.NextReader(); err != nil {
+ fmt.Println("Client", ws.RemoteAddr(), "disconnected:", err)
ws.Close()
break
}