summaryrefslogtreecommitdiff
path: root/lib/chef/audit/audit_reporter.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/audit/audit_reporter.rb')
-rw-r--r--lib/chef/audit/audit_reporter.rb6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/chef/audit/audit_reporter.rb b/lib/chef/audit/audit_reporter.rb
index 02b9965199..6cbab82acb 100644
--- a/lib/chef/audit/audit_reporter.rb
+++ b/lib/chef/audit/audit_reporter.rb
@@ -53,9 +53,11 @@ class Chef
post_auditing_data
end
+ # If the audit phase failed, its because there was some kind of error in the framework
+ # that runs tests - normal errors are interpreted as EXAMPLE failures and captured.
def audit_phase_failed(error)
- # TODO
- raise error
+ # The stacktrace information has already been logged elsewhere
+ Chef::Log.error("Audit Reporter failed - not sending any auditing information to the server")
end
def control_group_started(name)