In addition, an error message is printed as an error, not a debug
message.
Change-Id: I1adb4fe8615a33652d3b00875adad52a6c9627d4
Signed-Off-By: Youmin Ha <youmin.ha@samsung.com>
Step::Status StepRevokeSecurity::process() {
if (!UnregisterSecurityContextForApps(
context_->pkgid(), context_->manifest_data())) {
+ LOG(ERROR) << "Failure on unregistering security context for app " << context_->pkgid();
return Status::ERROR;
}
LOG(DEBUG) << "Security context uninstalled";
if (!RegisterSecurityContextForApps(
context_->pkgid(), context_->GetRootApplicationPath(),
context_->manifest_data())) {
+ LOG(ERROR) << "Failure on re-installing security context for app " << context_->pkgid();
return Status::ERROR;
}
LOG(DEBUG) << "Security context installed";