cleanup
This commit is contained in:
parent
247f3a7dbe
commit
994b69f19b
2 changed files with 1 additions and 2 deletions
|
@ -436,7 +436,7 @@ CopyFileResult copy_file_inner(const std::string& from, const std::string& to, s
|
|||
ec.clear();
|
||||
boost::filesystem::copy_file(source, target, boost::filesystem::copy_option::overwrite_if_exists, ec);
|
||||
if (ec) {
|
||||
error_message = ec.message()/*decode_path(ec.message().c_str())*/;
|
||||
error_message = ec.message();
|
||||
return FAIL_COPY_FILE;
|
||||
}
|
||||
ec.clear();
|
||||
|
|
|
@ -180,7 +180,6 @@ void BackgroundSlicingProcess::process_fff()
|
|||
BOOST_LOG_TRIVIAL(error) << "Unexpected fail code(" << (int)copy_ret_val << ") durring copy_file() to " << export_path << ".";
|
||||
break;
|
||||
}
|
||||
BOOST_LOG_TRIVIAL(error) << "copy_ret_val is ok";
|
||||
m_print->set_status(95, _utf8(L("Running post-processing scripts")));
|
||||
run_post_process_scripts(export_path, m_fff_print->config());
|
||||
m_print->set_status(100, (boost::format(_utf8(L("G-code file exported to %1%"))) % export_path).str());
|
||||
|
|
Loading…
Reference in a new issue