From 48ce99952ebadeac3948fe8398efa3f843ec1ec7 Mon Sep 17 00:00:00 2001 From: Lamont Granquist Date: Wed, 9 Dec 2015 15:59:40 -0800 Subject: Ask for stacktrace.out in bug reports --- lib/chef/application.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/chef/application.rb b/lib/chef/application.rb index a2c415111e..0ee201f103 100644 --- a/lib/chef/application.rb +++ b/lib/chef/application.rb @@ -1,7 +1,7 @@ # # Author:: AJ Christensen () # Author:: Mark Mzyk (mmzyk@opscode.com) -# Copyright:: Copyright (c) 2008 Opscode, Inc. +# Copyright:: Copyright (c) 2008-2015 Chef Software, Inc. # License:: Apache License, Version 2.0 # # Licensed under the Apache License, Version 2.0 (the "License"); @@ -312,6 +312,7 @@ class Chef Chef::FileCache.store("chef-stacktrace.out", chef_stacktrace_out) Chef::Log.fatal("Stacktrace dumped to #{Chef::FileCache.load("chef-stacktrace.out", false)}") + Chef::Log.fatal("Please provide the contents of the stacktrace.out file if you file a bug report") Chef::Log.debug(message) true end -- cgit v1.2.1