summaryrefslogtreecommitdiff
path: root/ui
diff options
context:
space:
mode:
author Kousik Kumar <kousikk@google.com> 2021-01-26 14:30:53 -0500
committer Kousik Kumar <kousikk@google.com> 2021-01-26 14:34:30 -0500
commit1e4d5f3e674eeb8b1af235d56045c4dd4ad304e9 (patch)
tree60fc25dc519c738b67fafdffcda733bb351e0c0f /ui
parent24907d115a743a07633368d9a45e49ac0ab51580 (diff)
Add FAILED: prefix to RBE Fatal error message
This error message it currently being logged to stdout which goes to build.log file . We want it to be logged to build_error.log file instead so that downstream systems that need to run based on the error message will continue to work. Test: Tested by running `m toybox` and ensuring that FAILED: prefix is at the beginning of the line. Bug: b/177221705 Change-Id: Ie0c9acee2739acf149384e33804b5fca3273c24f
Diffstat (limited to 'ui')
-rw-r--r--ui/build/rbe.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/build/rbe.go b/ui/build/rbe.go
index d9c33f61e..1fabd9262 100644
--- a/ui/build/rbe.go
+++ b/ui/build/rbe.go
@@ -106,7 +106,7 @@ func startRBE(ctx Context, config Config) {
cmd := Command(ctx, config, "startRBE bootstrap", rbeCommand(ctx, config, bootstrapCmd))
if output, err := cmd.CombinedOutput(); err != nil {
- ctx.Fatalf("rbe bootstrap failed with: %v\n%s\n", err, output)
+ ctx.Fatalf("Unable to start RBE reproxy\nFAILED: RBE bootstrap failed with: %v\n%s\n", err, output)
}
}