commit | d73181d1a08c777e34b5a81d197dbce87a679d47 | [log] [tgz] |
---|---|---|
author | Martin Stjernholm <mast@google.com> | Tue Feb 27 20:05:55 2024 +0000 |
committer | Treehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com> | Wed Feb 28 13:06:47 2024 +0000 |
tree | 774e8ecc4c18e0d0b2fe759a25c197b4376b68c6 | |
parent | c62d3a210b2e53ee121e9ffbec24702e938cce04 [diff] |
Avoid repeated logging of the file name when ReadConfig returns an error. https://r.android.com/2963904 made ReadConfig include the file name in the error if the file cannot be read, but some call sites added it as well. Make it consistently the responsibility of ReadConfig. Also shorten an error message where the path itself is good enough to identify the call site. Test: presubmits Bug: 325107109 Change-Id: I0c7d6c0ea3a7fb5d2ba1fa6aa25557080ac4d630