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.
|
||||
|
||||
app.Run(os.Args)
|
||||
if err := app.Run(os.Args); err != nil {
|
||||
log.Error(err)
|
||||
}
|
||||
|
||||
close(commands.RpcClientDriversCh)
|
||||
<-commands.RpcDriversClosedCh
|
||||
|
|
Loading…
Reference in New Issue