More verbose message on goma_ctl.py ensure_start failure.
For ease of investigating the issue with error reports, let me make the error message more verbose. Test: make goma_ctl.py raise Exception and run. Test: I confirmed verbose error message shown. Change-Id: I04f9a5ca4808746994c41ddce8a5b22a1975fcc2 Signed-off-by: Yoshisato Yanagisawa <yyanagisawa@google.com> Bug: 124218940
This commit is contained in:
parent
8854a5a805
commit
02eaccafbd
1 changed files with 2 additions and 2 deletions
|
@ -73,7 +73,7 @@ func startGoma(ctx Context, config Config) {
|
|||
|
||||
cmd := Command(ctx, config, "goma_ctl.py ensure_start", gomaCtl, "ensure_start")
|
||||
|
||||
if err := cmd.Run(); err != nil {
|
||||
ctx.Fatalf("goma_ctl.py ensure_start failed with: %v\n", err)
|
||||
if output, err := cmd.CombinedOutput(); err != nil {
|
||||
ctx.Fatalf("goma_ctl.py ensure_start failed with: %v\n%s\n", err, output)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue