Skip to content

Commit

Permalink
Added debug messages
Browse files Browse the repository at this point in the history
  • Loading branch information
Eyal-Shalev committed Apr 7, 2021
1 parent 3d2113d commit 9bf3b17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion supervisor.go
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ func (p *Process) unprotectedStart() error {
default:
log.Printf("[%s] ensureAllClosed was called before stopC channel was closed.", p.opts.Id)
}
if p.opts.Debug { log.Printf("[%s] Ensuring all pipes have closed.", p.opts.Id) }
if p.opts.Debug { log.Printf("[%s] Starting to ensure all pipes have closed.", p.opts.Id) }
if cErr := ensureClosed("stdin", isInClosed, inPipe.Close); cErr != nil {
log.Printf("[%s] Possible memory leak, stdin go-routine not closed. Error: %s", p.opts.Id, cErr)
}
Expand Down

0 comments on commit 9bf3b17

Please sign in to comment.