diff options
author | 2018-02-27 11:26:02 -0800 | |
---|---|---|
committer | 2018-02-27 19:30:40 +0000 | |
commit | 15cd21a492f112cd9d51c7aee4689b4f681f40e3 (patch) | |
tree | e8838eeaad00b100ac9a49c02933c4d38038e7a3 /java/java_test.go | |
parent | d2092dbc0dde66212a57bc62d9b5ea7cfd623e0a (diff) |
Report errors when opening config files
The error handling when opening config files was ignoring all errors
except ENOEXIST. Report other errors, instead of passing nil to
json.NewDecoder and getting:
config file: out/soong/soong.config did not parse correctly: invalid argument
Bug: 73951413
Test: touch out/soong/soong.config && chmod a-r out/soong/soong.config && m
Test: rm out/soong/soong.config && m
Change-Id: I4a609b7f060b760b76ee829b83c0eb405340f58f
Diffstat (limited to 'java/java_test.go')
0 files changed, 0 insertions, 0 deletions