lib/zold/http.rb in zold-0.13.1 vs lib/zold/http.rb in zold-0.13.2

- old
+ new

@@ -19,10 +19,11 @@ # SOFTWARE. require 'rainbow' require 'uri' require 'net/http' +require_relative 'backtrace' require_relative 'version' require_relative 'score' # HTTP page. # Author:: Yegor Bugayenko (yegor256@gmail.com) @@ -81,10 +82,10 @@ def initialize(ex) @ex = ex end def body - @ex.message + "\n" + @ex.backtrace.join("\n\t") + Backtrace.new(@ex).to_s end def code '599' end