summaryrefslogtreecommitdiff
path: root/lib/chef/handler/error_report.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/handler/error_report.rb')
-rw-r--r--lib/chef/handler/error_report.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/chef/handler/error_report.rb b/lib/chef/handler/error_report.rb
index e84a817e06..fd61cfb7bf 100644
--- a/lib/chef/handler/error_report.rb
+++ b/lib/chef/handler/error_report.rb
@@ -22,12 +22,10 @@ require "chef/resource/directory"
class Chef
class Handler
class ErrorReport < ::Chef::Handler
-
def report
Chef::FileCache.store("failed-run-data.json", Chef::JSONCompat.to_json_pretty(data), 0640)
Chef::Log.fatal("Saving node information to #{Chef::FileCache.load("failed-run-data.json", false)}")
end
-
end
end
end