summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLamont Granquist <454857+lamont-granquist@users.noreply.github.com>2021-12-07 12:53:38 -0800
committerGitHub <noreply@github.com>2021-12-07 12:53:38 -0800
commit6fb2ea374e524db17b75e41740b790403eea1770 (patch)
tree70d1b3f3acf4d41771bd2e41c3ead8b352d0f467
parentc27b7ae7039e0a2f4fb5d4658809bcac5e717d8d (diff)
parent5f57219003620c8dab804faacbee94b70c17793a (diff)
downloadohai-6fb2ea374e524db17b75e41740b790403eea1770.tar.gz
Merge pull request #1668 from andyjdavis/exceptionLogLevel
-rw-r--r--lib/ohai/runner.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ohai/runner.rb b/lib/ohai/runner.rb
index 02c30a19..f9a14f0b 100644
--- a/lib/ohai/runner.rb
+++ b/lib/ohai/runner.rb
@@ -61,7 +61,7 @@ module Ohai
rescue Ohai::Exceptions::Error, SystemExit # SystemExit: abort or exit from plug-in should exit Ohai with failure code
raise
rescue Exception => e
- logger.trace("Plugin #{plugin.name} threw exception #{e.inspect} #{e.backtrace.join("\n")}")
+ logger.warn("Plugin #{plugin.name} threw exception #{e.inspect} #{e.backtrace.join("\n")}")
end
end
logger.trace("Plugin #{plugin.name} took #{"%f" % elapsed.truncate(6)} seconds to run.")