fix(utils): print log for exec_cmd failure (#982)
This commit is contained in:
parent
b684d80aab
commit
8b4489768b
|
@ -155,7 +155,10 @@ fn internal_exec_cmd(cmd: &str, args: &[&str]) -> Option<CommandOutput> {
|
||||||
stderr: stderr_string,
|
stderr: stderr_string,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
Err(_) => None,
|
Err(error) => {
|
||||||
|
log::error!("Executing command {:?} failed by: {:?}", cmd, error);
|
||||||
|
None
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue