diff --git a/src/cmake.cc b/src/cmake.cc index e33bde2..51f0b60 100644 --- a/src/cmake.cc +++ b/src/cmake.cc @@ -59,7 +59,7 @@ boost::filesystem::path CMake::get_default_build_path(const boost::filesystem::p boost::system::error_code ec; boost::filesystem::create_directories(default_build_path, ec); if(ec) { - Terminal::get().print("Could not create "+default_build_path.string()+": "+ec.message(), true); + Terminal::get().print("Error: could not create "+default_build_path.string()+": "+ec.message(), true); return boost::filesystem::path(); } } diff --git a/src/config.cc b/src/config.cc index aa583fd..732344f 100644 --- a/src/config.cc +++ b/src/config.cc @@ -36,7 +36,7 @@ void Config::load() { retrieve_config(); } catch(const std::exception &e) { - ::Terminal::get().print("Error reading "+config_json+": "+e.what()+"\n"); + ::Terminal::get().print("Error: could not parse "+config_json+": "+e.what()+"\n", true); std::stringstream ss; ss << configjson; boost::property_tree::read_json(ss, cfg);