diff options
| author | 2022-04-01 22:56:53 +0000 | |
|---|---|---|
| committer | 2022-04-01 22:56:53 +0000 | |
| commit | e1cbf0b1174987407c42b17e9f99ceb332cdb092 (patch) | |
| tree | 5925e790f936a9d0fefe50bab62ac49be87659e0 | |
| parent | 5b37044c206b17dfe5b1ef3c1f4a83097f59eb07 (diff) | |
| parent | e210ca9e343f15d030d164fb84ed687171bdfa28 (diff) | |
Merge "Add context to error message." am: 0754714469 am: 82e2afb277 am: e210ca9e34
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2052076
Change-Id: I4669a3e8ffd72d7591d4c6713942072f998b82f8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
| -rw-r--r-- | tools/aapt2/util/Files.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/aapt2/util/Files.cpp b/tools/aapt2/util/Files.cpp index a266b476bc0d..3285d8bafa4d 100644 --- a/tools/aapt2/util/Files.cpp +++ b/tools/aapt2/util/Files.cpp @@ -349,7 +349,7 @@ std::optional<std::vector<std::string>> FindFiles(const android::StringPiece& pa const std::string root_dir = path.to_string(); std::unique_ptr<DIR, decltype(closedir)*> d(opendir(root_dir.data()), closedir); if (!d) { - diag->Error(DiagMessage() << SystemErrorCodeToString(errno)); + diag->Error(DiagMessage() << SystemErrorCodeToString(errno) << ": " << root_dir); return {}; } |