summaryrefslogtreecommitdiff
path: root/pool.go
diff options
context:
space:
mode:
Diffstat (limited to 'pool.go')
-rw-r--r--pool.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/pool.go b/pool.go
index a14dde26..21637bef 100644
--- a/pool.go
+++ b/pool.go
@@ -68,8 +68,11 @@ func NewPool(cmd func() *exec.Cmd, factory Factory, cfg Config) (*Pool, error) {
// worker watcher
go func(w *Worker) {
if err := w.Wait(); err != nil {
+
// todo: register error
log.Println(err)
+
+ //todo: automatic replace
}
}(w)