From 21cfc9018429d242e7ced21c681d95f890bc02da Mon Sep 17 00:00:00 2001 From: Jonathan Lehman Date: Tue, 31 Jan 2017 10:23:45 -0500 Subject: [PATCH] Show backtrace on build errors --- lib/slugbuilder/builder.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/slugbuilder/builder.rb b/lib/slugbuilder/builder.rb index b4acded..eb3c025 100644 --- a/lib/slugbuilder/builder.rb +++ b/lib/slugbuilder/builder.rb @@ -51,7 +51,7 @@ def build(clear_cache: false, env: {}, prebuild: nil, postbuild: nil, slug_name: end return true rescue => e - stitle("Failed: #{e}") + stitle("Failed: #{e}\n#{e.backtrace.join("\n")}") return false end