Add debug message on Wait() error

This commit is contained in:
Alex Dadgar
2016-04-19 15:54:21 -07:00
parent 44627677f7
commit 8fe6589479

View File

@@ -342,7 +342,10 @@ func (e *UniversalExecutor) wait() {
exitCode = 128 + signal
}
}
} else {
e.logger.Printf("[DEBUG] executor: unexpected Wait() error type: %v", err)
}
e.exitState = &ProcessState{Pid: 0, ExitCode: exitCode, Signal: signal, IsolationConfig: ic, Time: time.Now()}
}