mq-container icon indicating copy to clipboard operation
mq-container copied to clipboard

Errors should be handled in log mirroring goroutine

Open LPowlett opened this issue 6 years ago • 0 comments

func mirrorLog (cmd/runmqserver/mirror.go:~77) uses an error channel errorChannel to pass back errors from the goroutine, but the returned error channel is never read, so errors from the go routine are not handled.

cmd/runmqserver/main.go:

// TODO: Use the error channel
_, err = mirrorSystemErrorLogs(ctx, &wg, mf)
^ Error channel

LPowlett avatar May 22 '19 14:05 LPowlett