Merge "Do not ignore error when writing environment file"

This commit is contained in:
Paul Duffin 2021-03-06 09:57:36 +00:00 committed by Gerrit Code Review
commit 77bfa3e792
1 changed files with 4 additions and 1 deletions

View File

@ -110,7 +110,10 @@ func runSoong(ctx Context, config Config) {
soongBuildEnv.Set("SOONG_DELVE_PATH", shared.ResolveDelveBinary())
}
writeEnvironmentFile(ctx, envFile, soongBuildEnv.AsMap())
err := writeEnvironmentFile(ctx, envFile, soongBuildEnv.AsMap())
if err != nil {
ctx.Fatalf("failed to write environment file %s: %s", envFile, err)
}
func() {
ctx.BeginTrace(metrics.RunSoong, "environment check")