diff options
author | Marc Chamberland <chamberland.marc@gmail.com> | 2019-11-05 13:24:56 -0500 |
---|---|---|
committer | Marc Chamberland <chamberland.marc@gmail.com> | 2019-12-05 08:47:17 -0500 |
commit | e1a8a9d22f587e514b208d747d86a64979bad8db (patch) | |
tree | 182138f38a05c4dd8cef8a7d74f5366ab242fa05 /lib/chef/application.rb | |
parent | 1befa58bc9340040028aeee3f6368f0e014b9366 (diff) | |
download | chef-e1a8a9d22f587e514b208d747d86a64979bad8db.tar.gz |
inserting distro constants into windows service messages
Signed-off-by: Marc Chamberland <chamberland.marc@gmail.com>
Diffstat (limited to 'lib/chef/application.rb')
-rw-r--r-- | lib/chef/application.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/application.rb b/lib/chef/application.rb index a793a91909..bffa6ba909 100644 --- a/lib/chef/application.rb +++ b/lib/chef/application.rb @@ -389,8 +389,8 @@ class Chef chef_stacktrace_out = "Generated at #{Time.now}\n" chef_stacktrace_out += message - Chef::FileCache.store("chef-stacktrace.out", chef_stacktrace_out) - logger.fatal("Stacktrace dumped to #{Chef::FileCache.load("chef-stacktrace.out", false)}") + Chef::FileCache.store("#{Chef::Dist::SHORT}-stacktrace.out", chef_stacktrace_out) + logger.fatal("Stacktrace dumped to #{Chef::FileCache.load("#{Chef::Dist::SHORT}-stacktrace.out", false)}") logger.fatal("Please provide the contents of the stacktrace.out file if you file a bug report") logger.debug(message) true |