1
0
mirror of https://github.com/Llewellynvdm/starship.git synced 2024-10-01 14:39:12 +00:00

refactor(custom): Add additional logging to the custom module (#1389)

This commit is contained in:
Thomas O'Donnell 2020-06-26 17:30:11 +02:00 committed by GitHub
parent c97f9aef98
commit affae806fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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"
);