aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorYoshisato Yanagisawa2019-02-12 19:47:32 -0600
committerYoshisato Yanagisawa2019-02-12 19:49:10 -0600
commit02eaccafbdd3b4865e0d46a8fd066e11361e6592 (patch)
treef8863c886023a55e152dd2075fc6223f49acc849 /ui
parent8854a5a8050ae76583b63226b4ca5967dc5e0972 (diff)
downloadplatform-build-soong-02eaccafbdd3b4865e0d46a8fd066e11361e6592.tar.gz
platform-build-soong-02eaccafbdd3b4865e0d46a8fd066e11361e6592.tar.xz
platform-build-soong-02eaccafbdd3b4865e0d46a8fd066e11361e6592.zip
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
Diffstat (limited to 'ui')
-rw-r--r--ui/build/goma.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/build/goma.go b/ui/build/goma.go
index 015a7c77..ff0b40e6 100644
--- a/ui/build/goma.go
+++ b/ui/build/goma.go
@@ -73,7 +73,7 @@ func startGoma(ctx Context, config Config) {
73 73
74 cmd := Command(ctx, config, "goma_ctl.py ensure_start", gomaCtl, "ensure_start") 74 cmd := Command(ctx, config, "goma_ctl.py ensure_start", gomaCtl, "ensure_start")
75 75
76 if err := cmd.Run(); err != nil { 76 if output, err := cmd.CombinedOutput(); err != nil {
77 ctx.Fatalf("goma_ctl.py ensure_start failed with: %v\n", err) 77 ctx.Fatalf("goma_ctl.py ensure_start failed with: %v\n%s\n", err, output)
78 } 78 }
79} 79}