From c2de8b20de46dfdce1a9c8ffbb2a9483c957da65 Mon Sep 17 00:00:00 2001 From: deadprogram Date: Wed, 31 May 2017 20:41:37 +0200 Subject: [PATCH] core: log failure errors on Robot Start() Signed-off-by: deadprogram --- robot.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/robot.go b/robot.go index e970a3fa..14aa9d8f 100644 --- a/robot.go +++ b/robot.go @@ -153,10 +153,12 @@ func (r *Robot) Start(args ...interface{}) (err error) { log.Println("Starting Robot", r.Name, "...") if cerr := r.Connections().Start(); cerr != nil { err = multierror.Append(err, cerr) + log.Println(err) return } if derr := r.Devices().Start(); derr != nil { err = multierror.Append(err, derr) + log.Println(err) return } if r.Work == nil {