Merge pull request #346 from bhollis/master
Provide a stack trace for build errors
This commit is contained in:
commit
b1ba94cf22
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue