Skip to content

Commit f4eebf0

Browse files
committed
fix Exception Handling code snippet in README
1 parent aa136cd commit f4eebf0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ You can also rescue specific exceptions with a code block and handle the Rack re
105105

106106
class Twitter::API < Grape::API
107107
rescue_from :all do |e|
108-
Rack::Response.new([ e.message ], 500, { "Content-type" => "text/error" ).finish
108+
Rack::Response.new([ e.message ], 500, { "Content-type" => "text/error" }).finish
109109
end
110110
end
111111

0 commit comments

Comments
 (0)