Skip to content

Commit

Permalink
Merge branch 'dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
lxzan committed Jun 2, 2023
2 parents f2d162c + 51f1683 commit 33611b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion updrader.go
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ type Server struct {
// create a websocket server
func NewServer(eventHandler Event, option *ServerOption) *Server {
var c = &Server{upgrader: NewUpgrader(eventHandler, option)}
c.OnError = func(conn net.Conn, err error) { log.Println(err.Error()) }
c.OnError = func(conn net.Conn, err error) { log.Println("gws: " + err.Error()) }
return c
}

Expand Down

0 comments on commit 33611b4

Please sign in to comment.