Skip to content

Commit 0369636

Browse files
committed
Changed readme to reflect the non-default option.
1 parent a481a5b commit 0369636

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
@@ -69,7 +69,7 @@ The default behavior of Grape is to rescue all exceptions and to return a 403 st
6969
It's possible to trap all exceptions by setting `rescue_all_errors true`. This prevents displaying the web server's error page as a result. You may also change the error format to JSON by using `error_format :json` and set the default error status to 200 with `default_error_status 200`.
7070

7171
class Twitter::API < Grape::API
72-
rescue_all_errors false
72+
rescue_all_errors true
7373
error_format :json
7474
default_error_status 200
7575

0 commit comments

Comments
 (0)