mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-08 07:27:41 -06:00
FIX: fix a crash issue when copy failed
Change-Id: Ie0cd4676d9f31213c80a4a9a7f5c836c58a53120
This commit is contained in:
parent
de8db2a89c
commit
93a0d3a4ca
2 changed files with 5 additions and 1 deletions
|
@ -818,7 +818,7 @@ CopyFileResult copy_file_inner(const std::string& from, const std::string& to, s
|
|||
if (ec) {
|
||||
error_message = ec.message();
|
||||
BOOST_LOG_TRIVIAL(error) << boost::format("###copy_file from %1% to %2% failed, error: %3% ")
|
||||
%source.string() %target.string() << error_message;
|
||||
%source.string() %target.string() % error_message;
|
||||
return FAIL_COPY_FILE;
|
||||
}
|
||||
ec.clear();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue