aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go6
1 files changed, 1 insertions, 5 deletions
diff --git a/main.go b/main.go
index 0b9b956..c2642f7 100644
--- a/main.go
+++ b/main.go
@@ -243,11 +243,7 @@ func eventsEndpoint(w http.ResponseWriter, r *http.Request) {
}()
llog.Info("New SSE connection with id %v", connId)
- err = wrms.initConn(conn)
- if err != nil {
- return
- }
-
+ wrms.initConn(conn)
conn.serve()
}