diff options
author | 2018-08-13 17:12:42 -0700 | |
---|---|---|
committer | 2018-08-20 03:48:47 +0000 | |
commit | 9f1911181ddd40c61622dfb9d120fe37190e4adf (patch) | |
tree | 8aeaa44caef005ec5bc60897e1ebd199727a4419 | |
parent | 7dd9fce65282e8b2d35b5c660ba0f03e3c9b9b8c (diff) |
Include values in error message.
Bug: 112554546
Test: N/A
Change-Id: I56c468a9a4f162f6ce8079d6b4b61c5ec4b8f633
-rw-r--r-- | tools/aapt2/format/Container.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/aapt2/format/Container.cpp b/tools/aapt2/format/Container.cpp index 739555c5b15d..d4b45717e015 100644 --- a/tools/aapt2/format/Container.cpp +++ b/tools/aapt2/format/Container.cpp @@ -270,7 +270,8 @@ ContainerReader::ContainerReader(io::InputStream* in) } if (magic != kContainerFormatMagic) { - error_ = "magic value doesn't match AAPT"; + error_ = + StringPrintf("magic value is 0x%08x but AAPT expects 0x%08x", magic, kContainerFormatMagic); return; } |