summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2015-12-09 15:59:40 -0800
committerLamont Granquist <lamont@scriptkiddie.org>2015-12-09 15:59:40 -0800
commit48ce99952ebadeac3948fe8398efa3f843ec1ec7 (patch)
treeae14a25e23a87af336138c774561722999673ee4
parent7ea4faf9f9bd145d6f8d3941f8f95b38cf208e8a (diff)
downloadchef-lcg/ask-for-stacktraces.tar.gz
Ask for stacktrace.out in bug reportslcg/ask-for-stacktraces
-rw-r--r--lib/chef/application.rb3
1 files changed, 2 insertions, 1 deletions
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 (<aj@opscode.com>)
# 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