mirror of
https://github.com/Llewellynvdm/starship.git
synced 2024-12-26 03:27:30 +00:00
refactor(custom): Add additional logging to the custom module (#1389)
This commit is contained in:
parent
c97f9aef98
commit
affae806fb
@ -103,7 +103,8 @@ fn shell_command(cmd: &str, shell_args: &[&str]) -> Option<Output> {
|
||||
|
||||
let mut child = match command.spawn() {
|
||||
Ok(command) => command,
|
||||
Err(_) => {
|
||||
Err(err) => {
|
||||
log::trace!("Error executing command: {:?}", err);
|
||||
log::debug!(
|
||||
"Could not launch command with given shell or STARSHIP_SHELL env variable, retrying with /bin/env sh"
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user