summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas O'Donnell <andytom@users.noreply.github.com>2020-10-03 11:58:49 +0200
committerGitHub <noreply@github.com>2020-10-03 11:58:49 +0200
commit0883ad78cf3d381c669f770256317e3552631c39 (patch)
tree6fb4ca556942a8617341f189c6a199e58a13473b
parentd46c76920e0bbec60af5741f6847339f69262560 (diff)
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.
-rw-r--r--src/utils.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils.rs b/src/utils.rs
index 0c8a4013d..10834251d 100644
--- a/src/utils.rs
+++ b/src/utils.rs
@@ -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
}
}