mirror of
https://github.com/Llewellynvdm/starship.git
synced 2024-12-26 03:27:30 +00:00
fix(utils): reduce log level of errors in utils. (#1730)
Have reduced the log level when we fail to execute a command since this is happening a lot more that expected, for example if a user checks out a repo that contains a `.js` file but they don't have node installed.
This commit is contained in:
parent
d46c76920e
commit
0883ad78cf
@ -253,7 +253,7 @@ fn internal_exec_cmd(cmd: &str, args: &[&str]) -> Option<CommandOutput> {
|
||||
})
|
||||
}
|
||||
Err(error) => {
|
||||
log::warn!("Executing command {:?} failed by: {:?}", cmd, error);
|
||||
log::info!("Executing command {:?} failed by: {:?}", cmd, error);
|
||||
None
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user