Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5492ba26 authored by Dan Willemsen's avatar Dan Willemsen Committed by android-build-merger
Browse files

Merge "Handle Scanner errors in kati output filter"

am: b1693d3b

Change-Id: I623130c6666b14341bc4fcb4f80a891ba141ce82
parents 21e5d301 b1693d3b
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -169,6 +169,11 @@ func katiRewriteOutput(ctx Context, pipe io.ReadCloser) {
	if !haveBlankLine {
		fmt.Fprintln(ctx.Stdout())
	}

	if err := scanner.Err(); err != nil {
		ctx.Println("Error from kati parser:", err)
		io.Copy(ctx.Stderr(), pipe)
	}
}

func runKatiCleanSpec(ctx Context, config Config) {