lib/hyperdrive/middleware/error.rb in hyperdrive-0.0.24 vs lib/hyperdrive/middleware/error.rb in hyperdrive-0.0.25

- old
+ new

@@ -11,11 +11,11 @@ def call(env) @app.call(env) rescue => e error_message = "#{e.class}: #{e.message}" + $stdout.sync = true $stdout.puts error_message - $stdout.puts "#{e.backtrace.inspect}" headers = { 'Content-Type' => 'application/json' } if e.respond_to?(:http_status_code) status = e.http_status_code body = [json_error(e)] else