We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c2bbb97 + aa694b8 commit 2d36017Copy full SHA for 2d36017
README.markdown
@@ -105,7 +105,7 @@ You can also rescue specific exceptions with a code block and handle the Rack re
105
106
class Twitter::API < Grape::API
107
rescue_from :all do |e|
108
- Rack::Response.new([ e.message ], 500, { "Content-type" => "text/error" ).finish
+ Rack::Response.new([ e.message ], 500, { "Content-type" => "text/error" }).finish
109
end
110
111
0 commit comments