core: log failure errors on Robot Start()
Signed-off-by: deadprogram <ron@hybridgroup.com>
This commit is contained in:
parent
4162b1b402
commit
c2de8b20de
2
robot.go
2
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 {
|
||||
|
|
Loading…
Reference in New Issue