Skip to content

Commit

Permalink
Update server.go
Browse files Browse the repository at this point in the history
  • Loading branch information
midoks committed Mar 31, 2022
1 parent c5e66a6 commit 9a4cfa0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dagger-server/internal/cmd/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ func websocketReqMethod(c *gin.Context) {
mt, message, err := ws.ReadMessage()
if err != nil {
logger.Errorf("read websocket msg: %v", err)
continue
break
}

reqInfo := &SendInfo{}
Expand All @@ -137,7 +137,7 @@ func websocketReqMethod(c *gin.Context) {
logger.Errorf(info)
err = ws.WriteMessage(mt, []byte(info))
if err == nil {
continue
break
}
}

Expand Down

0 comments on commit 9a4cfa0

Please sign in to comment.