summaryrefslogtreecommitdiffstats
path: root/updater/updater.cpp
diff options
context:
space:
mode:
authorTianjie Xu <xunchang@google.com>2019-05-22 23:34:12 +0200
committerTianjie Xu <xunchang@google.com>2019-05-29 00:18:25 +0200
commitc1a5e26fd905df829c6e2bbc24b0500af4a5b357 (patch)
tree679d9b5234c30cee95606f0a48786d7de6232ab5 /updater/updater.cpp
parentMerge "recovery: report compliant reboot reason (Part Deux)" (diff)
downloadandroid_bootable_recovery-c1a5e26fd905df829c6e2bbc24b0500af4a5b357.tar
android_bootable_recovery-c1a5e26fd905df829c6e2bbc24b0500af4a5b357.tar.gz
android_bootable_recovery-c1a5e26fd905df829c6e2bbc24b0500af4a5b357.tar.bz2
android_bootable_recovery-c1a5e26fd905df829c6e2bbc24b0500af4a5b357.tar.lz
android_bootable_recovery-c1a5e26fd905df829c6e2bbc24b0500af4a5b357.tar.xz
android_bootable_recovery-c1a5e26fd905df829c6e2bbc24b0500af4a5b357.tar.zst
android_bootable_recovery-c1a5e26fd905df829c6e2bbc24b0500af4a5b357.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;
}