Skip to content

Commit

Permalink
Add missing LogPanicAndExit
Browse files Browse the repository at this point in the history
  • Loading branch information
lukedirtwalker committed Jul 27, 2018
1 parent 5ef9b66 commit 4ed213f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions go/lib/integration/binary.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ func replacePattern(pattern string, replacement string, args []string) []string
}

func redirectLog(name, pName string, ep io.ReadCloser) {
defer log.LogPanicAndExit()
defer ep.Close()
logparse.ParseFrom(ep, pName, pName, func(e logparse.LogEntry) {
logLogEntry(name, e)
Expand Down

0 comments on commit 4ed213f

Please sign in to comment.