summaryrefslogtreecommitdiffstats
path: root/updater/updater.cpp
diff options
context:
space:
mode:
authorTianjie Xu <xunchang@google.com>2019-05-29 19:20:36 +0200
committerGerrit Code Review <noreply-gerritcodereview@google.com>2019-05-29 19:20:36 +0200
commit65d7d5b8cfd25482dacb93d3960f96f252e0f91c (patch)
tree679d9b5234c30cee95606f0a48786d7de6232ab5 /updater/updater.cpp
parentMerge "recovery: report compliant reboot reason (Part Deux)" (diff)
parentImplement an update simulator to verify BB OTA packages on host (diff)
downloadandroid_bootable_recovery-65d7d5b8cfd25482dacb93d3960f96f252e0f91c.tar
android_bootable_recovery-65d7d5b8cfd25482dacb93d3960f96f252e0f91c.tar.gz
android_bootable_recovery-65d7d5b8cfd25482dacb93d3960f96f252e0f91c.tar.bz2
android_bootable_recovery-65d7d5b8cfd25482dacb93d3960f96f252e0f91c.tar.lz
android_bootable_recovery-65d7d5b8cfd25482dacb93d3960f96f252e0f91c.tar.xz
android_bootable_recovery-65d7d5b8cfd25482dacb93d3960f96f252e0f91c.tar.zst
android_bootable_recovery-65d7d5b8cfd25482dacb93d3960f96f252e0f91c.zip
Diffstat (limited to 'updater/updater.cpp')
-rw-r--r--updater/updater.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/updater/updater.cpp b/updater/updater.cpp
index 426c6dce0..8f4a6ede5 100644
--- a/updater/updater.cpp
+++ b/updater/updater.cpp
@@ -175,7 +175,8 @@ bool Updater::ReadEntryToString(ZipArchiveHandle za, const std::string& entry_na
int extract_err = ExtractToMemory(za, &entry, reinterpret_cast<uint8_t*>(&content->at(0)),
entry.uncompressed_length);
if (extract_err != 0) {
- LOG(ERROR) << "failed to read script from package: " << ErrorCodeString(extract_err);
+ LOG(ERROR) << "failed to read " << entry_name
+ << " from package: " << ErrorCodeString(extract_err);
return false;
}