From 69b18ed1678ceceae9805258b5426f8470ec3901 Mon Sep 17 00:00:00 2001 From: Dan Willemsen Date: Wed, 18 Oct 2017 13:25:50 -0700 Subject: Silence error during microfactory trace import This may happen if there's been another call to microfactory before we've read the log file. Just ignore the error and continue. Test: Run `while true; do get_build_var TARGET_PRODUCT; done` in parallel Change-Id: I670144f4637281ebf1299dbd9151dd9819c363e3 --- ui/tracer/microfactory.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ui') diff --git a/ui/tracer/microfactory.go b/ui/tracer/microfactory.go index 320d9d8e..acb9be4c 100644 --- a/ui/tracer/microfactory.go +++ b/ui/tracer/microfactory.go @@ -28,7 +28,7 @@ func (t *tracerImpl) ImportMicrofactoryLog(filename string) { f, err := os.Open(filename) if err != nil { - t.log.Println("Error opening microfactory trace:", err) + t.log.Verboseln("Error opening microfactory trace:", err) return } defer f.Close() -- cgit v1.2.3