summaryrefslogtreecommitdiffstats
path: root/bin/puppetca
diff options
context:
space:
mode:
Diffstat (limited to 'bin/puppetca')
-rwxr-xr-xbin/puppetca3
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/puppetca b/bin/puppetca
index 2cbb37872..3b572c6e1 100755
--- a/bin/puppetca
+++ b/bin/puppetca
@@ -148,6 +148,9 @@ Puppet.genmanifest
begin
ca = Puppet::SSLCertificates::CA.new()
rescue => detail
+ if Puppet[:debug]
+ puts detail.backtrace
+ end
puts detail.to_s
exit(23)
end