remove stray printouts
This commit is contained in:
parent
c5eddcb292
commit
eea2f76b9f
@ -150,14 +150,11 @@ impl ExperimentController {
|
||||
match shell_cmd_result {
|
||||
Ok(shell_cmd) => {
|
||||
log::info!("executing shell cmd {:?}", shell_cmd);
|
||||
println!("executing shell cmd {:?}", shell_cmd);
|
||||
match Command::new(shell_cmd.cmd).args(shell_cmd.args).status() {
|
||||
Ok(status) => {
|
||||
if status.success() {
|
||||
println!("cmd exec success");
|
||||
self.send_completion_success(requestor, action_req);
|
||||
} else {
|
||||
println!("cmd exec failed with {}", status);
|
||||
log::warn!("execution of command failed: {}", status);
|
||||
self.send_completion_failure(
|
||||
requestor,
|
||||
@ -169,7 +166,6 @@ impl ExperimentController {
|
||||
}
|
||||
Err(e) => {
|
||||
log::warn!("execution of command failed with IO error: {}", e);
|
||||
println!("cmd exec failed with {}", e);
|
||||
self.send_completion_failure(
|
||||
requestor,
|
||||
action_req,
|
||||
|
Loading…
Reference in New Issue
Block a user