Skip to content

Commit

Permalink
Merge pull request #1270 from SRetip/error_tools_fix
Browse files Browse the repository at this point in the history
READY : error_tools fix
  • Loading branch information
Wandalen authored Apr 4, 2024
2 parents b746645 + ffbc50d commit cc39b49
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions module/core/process_tools/src/process.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ pub( crate ) mod private
use duct::cmd;
use error_tools::
{
err,
for_app::{ Error, Context },
for_app::{ Error, Context, anyhow },
Result,
};
use former::Former;
Expand Down Expand Up @@ -198,7 +197,7 @@ pub( crate ) mod private
}
else
{
report.error = Err( err!( "Process was finished with error code : {}", output.status ) );
report.error = Err( anyhow!( "Process was finished with error code : {}", output.status ) );
Err( report )
}

Expand Down

0 comments on commit cc39b49

Please sign in to comment.