mirror of https://github.com/docker/docs.git
Spit out at least some message when flag parsing etc. fails
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>
This commit is contained in:
parent
43543d1579
commit
c93b79abef
|
@ -160,8 +160,9 @@ func main() {
|
||||||
}()
|
}()
|
||||||
|
|
||||||
// TODO: Close plugin servers in case of client panic.
|
// TODO: Close plugin servers in case of client panic.
|
||||||
|
if err := app.Run(os.Args); err != nil {
|
||||||
app.Run(os.Args)
|
log.Error(err)
|
||||||
|
}
|
||||||
|
|
||||||
close(commands.RpcClientDriversCh)
|
close(commands.RpcClientDriversCh)
|
||||||
<-commands.RpcDriversClosedCh
|
<-commands.RpcDriversClosedCh
|
||||||
|
|
Loading…
Reference in New Issue