Fix build error 48/231748/1
authorSangyoon Jang <jeremy.jang@samsung.com>
Fri, 24 Apr 2020 05:14:07 +0000 (14:14 +0900)
committerSangyoon Jang <jeremy.jang@samsung.com>
Fri, 24 Apr 2020 05:14:07 +0000 (14:14 +0900)
Change-Id: I38e9b2ab62dee51ca495b808adacb69aa6604ae3
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
src/tpk/step/filesystem/step_check_pkg_directory_path.cc
src/tpk/step/filesystem/step_create_tpk_symbolic_link.cc

index fc8dc30958220a6657b022b27cf04e81ad11f1ac..8223d397fcbc268e902034dfb4647e1e96e12762 100644 (file)
@@ -25,8 +25,8 @@ common_installer::Step::Status StepCheckPkgDirPath::process() {
   bf::create_directories(context_->GetPkgPath(), error);
   if (error) {
     LOG(ERROR) << "Cannot create directory: "
-               << context_->GetPkgPath().string();
-               << ", error: " << error.what();
+               << context_->GetPkgPath().string()
+               << ", error: " << error.message();
     return Step::Status::APP_DIR_ERROR;
   }
 
index 80ec9809127bee749df62eecd14be4d08a2d5ce4..7318f3a87a0879a66597cfbeba056d312d89366e 100644 (file)
@@ -51,7 +51,7 @@ bool CreateSymLink(application_x* app, InstallerContext* context) {
   bf::create_symlink(ug_client_path, app_exec_path, error);
   if (error) {
     LOG(ERROR) << "Symlink creation failure: " << app_exec_path
-                << ", error :" << error.what();
+               << ", error :" << error.message();
     return false;
   }