lib/hyperdrive/middleware/error.rb in hyperdrive-0.0.11 vs lib/hyperdrive/middleware/error.rb in hyperdrive-0.0.12
- old
+ new
@@ -19,10 +19,10 @@
else
puts e.message
status = 500
body = json_error(Hyperdrive::Errors::UnknownError.new)
end
- [status, headers, [body]]
+ [status, headers, body]
end
private
def json_error(e)