cmd/fshim/ipc: friendly setup timeout message
test / test (push) Successful in 22s
Details
test / test (push) Successful in 22s
Details
This message eventually gets returned by the app's Start method, so they should be wrapped to provide a friendly message. Signed-off-by: Ophestra Umiker <cat@ophivana.moe>
This commit is contained in:
parent
422d8e00d5
commit
8cd3651bb6
|
@ -117,7 +117,8 @@ func (s *Shim) Start(f CommandBuilder) (*time.Time, error) {
|
||||||
conn = c
|
conn = c
|
||||||
}
|
}
|
||||||
case <-time.After(shimSetupTimeout):
|
case <-time.After(shimSetupTimeout):
|
||||||
err := errors.New("timed out waiting for shim")
|
err := fmsg.WrapError(errors.New("timed out waiting for shim"),
|
||||||
|
"timed out waiting for shim to connect")
|
||||||
s.AbortWait(err)
|
s.AbortWait(err)
|
||||||
return &startTime, err
|
return &startTime, err
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue