From: Sangyoon Jang Date: Wed, 16 Jun 2021 05:52:21 +0000 (+0900) Subject: Print step name when failed at process() X-Git-Tag: accepted/tizen/unified/20210712.131308~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6433dc8e67d7fc0e0b6d4cfdbe7a4493fc157586;p=platform%2Fcore%2Fappfw%2Fapp-installers.git Print step name when failed at process() Change-Id: I5da03d1ce517ddea1bd5cc9a3d07c00eb1b69796 Signed-off-by: Sangyoon Jang --- diff --git a/src/common/installer/app_installer.cc b/src/common/installer/app_installer.cc index cafc726..2d064ac 100644 --- a/src/common/installer/app_installer.cc +++ b/src/common/installer/app_installer.cc @@ -242,7 +242,7 @@ AppInstaller::Result AppInstaller::Process() { if (status_ != Step::Status::OK) { if (status_ != Step::Status::RECOVERY_DONE) { - LOG(ERROR) << "Error during processing"; + LOG(ERROR) << "Error during processing(" << (*it_)->name() << ")"; result_ = Result::ERROR; } break;