summaryrefslogtreecommitdiffstats
path: root/updater/updater.cpp
diff options
context:
space:
mode:
authorTianjie Xu <xunchang@google.com>2019-05-29 19:37:34 +0200
committerandroid-build-merger <android-build-merger@google.com>2019-05-29 19:37:34 +0200
commit29d9d7bbbe5c848db00409845a59cfceea2c633c (patch)
tree679d9b5234c30cee95606f0a48786d7de6232ab5 /updater/updater.cpp
parentMerge "recovery: report compliant reboot reason (Part Deux)" (diff)
parentMerge "Implement an update simulator to verify BB OTA packages on host" (diff)
downloadandroid_bootable_recovery-29d9d7bbbe5c848db00409845a59cfceea2c633c.tar
android_bootable_recovery-29d9d7bbbe5c848db00409845a59cfceea2c633c.tar.gz
android_bootable_recovery-29d9d7bbbe5c848db00409845a59cfceea2c633c.tar.bz2
android_bootable_recovery-29d9d7bbbe5c848db00409845a59cfceea2c633c.tar.lz
android_bootable_recovery-29d9d7bbbe5c848db00409845a59cfceea2c633c.tar.xz
android_bootable_recovery-29d9d7bbbe5c848db00409845a59cfceea2c633c.tar.zst
android_bootable_recovery-29d9d7bbbe5c848db00409845a59cfceea2c633c.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;
}