summaryrefslogtreecommitdiff
path: root/service/container.go
diff options
context:
space:
mode:
authorWolfy-J <[email protected]>2018-06-12 21:13:54 +0300
committerWolfy-J <[email protected]>2018-06-12 21:13:54 +0300
commit47aa87a1cd438c6c99a4640f6af60fd408b5c3bc (patch)
treeb405ad7e1d3e6810c818be47a9cf67b7a534053c /service/container.go
parent99c1121d8fd31b7b61b6c22e181dc3c05a3f9f82 (diff)
improved worker watching
Diffstat (limited to 'service/container.go')
-rw-r--r--service/container.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/service/container.go b/service/container.go
index 1233b30d..56350be7 100644
--- a/service/container.go
+++ b/service/container.go
@@ -140,6 +140,7 @@ func (c *container) Serve() error {
defer e.setStatus(StatusStopped)
if err := e.svc.Serve(); err != nil {
+ c.log.Errorf("[%s]: %s", e.name, err)
done <- errors.Wrap(err, fmt.Sprintf("[%s]", e.name))
}
}(e)