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:
Thomas O'Donnell
2020-10-03 11:58:49 +02:00
committed by GitHub
parent d46c76920e
commit 0883ad78cf
+1 -1
View File
@@ -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
}
}