1
0
Fork 0
mirror of https://github.com/middleman/middleman.git synced 2022-11-09 12:20:27 -05:00

Merge pull request #346 from bhollis/master

Provide a stack trace for build errors
This commit is contained in:
Thomas Reynolds 2012-04-08 08:39:40 -07:00
commit b1ba94cf22

View file

@ -110,9 +110,9 @@ module Middleman::Cli
else
raise Thor::Error.new response.body
end
rescue
rescue => e
say_status :error, output_file, :red
raise Thor::Error.new $!
raise Thor::Error.new "#{e}\n#{e.backtrace.join("\n")}"
end
output_file