Skip to content

Commit

Permalink
docs(mixer): optimize error msg
Browse files Browse the repository at this point in the history
Change-Id: If0fb184c02bab586ed65ed99ce947015e2784b81
  • Loading branch information
andeya committed Apr 27, 2020
1 parent 1b8bb0f commit 92f4212
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mixer/websocket/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ func (srv *Server) ListenAndServe(protoFunc ...erpc.ProtoFunc) (err error) {
network := srv.cfg.Network
switch network {
default:
return errors.New("Invalid network config, refer to the following: tcp, tcp4, tcp6")
return errors.New("invalid network config, refer to the following: tcp, tcp4, tcp6")
case "tcp", "tcp4", "tcp6":
}
srv.Handle(srv.rootPath, NewServeHandler(srv.Peer, srv.handshake, protoFunc...))
Expand Down

0 comments on commit 92f4212

Please sign in to comment.