From 0883ad78cf3d381c669f770256317e3552631c39 Mon Sep 17 00:00:00 2001 From: Thomas O'Donnell Date: Sat, 3 Oct 2020 11:58:49 +0200 Subject: [PATCH] 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. --- src/utils.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils.rs b/src/utils.rs index 0c8a4013..10834251 100644 --- a/src/utils.rs +++ b/src/utils.rs @@ -253,7 +253,7 @@ fn internal_exec_cmd(cmd: &str, args: &[&str]) -> Option { }) } Err(error) => { - log::warn!("Executing command {:?} failed by: {:?}", cmd, error); + log::info!("Executing command {:?} failed by: {:?}", cmd, error); None } }