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
This commit is contained in:
parent
ca8feb385c
commit
69b18ed167
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ func (t *tracerImpl) ImportMicrofactoryLog(filename string) {
|
||||||
|
|
||||||
f, err := os.Open(filename)
|
f, err := os.Open(filename)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
t.log.Println("Error opening microfactory trace:", err)
|
t.log.Verboseln("Error opening microfactory trace:", err)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
defer f.Close()
|
defer f.Close()
|
||||||
|
|
Loading…
Reference in a new issue