Skip to content

Commit

Permalink
Merge pull request #807 from wonderflow/fixa1
Browse files Browse the repository at this point in the history
remove one line
  • Loading branch information
wonderflow authored Nov 1, 2018
2 parents 6c77934 + 69e4b16 commit d2fcbb2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions reader/socket/socket.go
Original file line number Diff line number Diff line change
Expand Up @@ -226,10 +226,9 @@ func (ssr *streamSocketReader) jsonRead(c net.Conn) {
if err != nil {
log.Errorf("runner[%v] Reader %q read decoder buffered error: %v", ssr.meta.RunnerName, ssr.Name(), err)
} else {
log.Errorf("runner[%v] Reader %q read streaming message: %v", ssr.meta.RunnerName, ssr.Name(), TruncateStrSize(string(readBytes), 2048))
log.Infof("runner[%v] Reader %q read streaming message:{ %v }, will combine it to next json decoder", ssr.meta.RunnerName, ssr.Name(), TruncateStrSize(string(readBytes), 2048))
}
decoder = json.NewDecoder(bufioReader)
log.Errorf("runner[%v] Reader %q decode message error %v", ssr.meta.RunnerName, ssr.Name(), err)
time.Sleep(time.Second)
continue
}
Expand Down

0 comments on commit d2fcbb2

Please sign in to comment.