Skip to content
Browse files

options => settings in ShowExceptions

  • Loading branch information...
1 parent 2f73dd1 commit c0745ccc84a8c0c976b6b3afcd83fb7371f5105f @sr sr committed
Showing with 2 additions and 2 deletions.
  1. +1 −1 lib/sinatra/showexceptions.rb
  2. +1 −1 test/options_test.rb
View
2 lib/sinatra/showexceptions.rb
@@ -294,7 +294,7 @@ def frame_class(frame)
</div> <!-- /RACK ENV -->
<p id="explanation">You're seeing this error because you have
-enabled the <code>show_exceptions</code> option.</p>
+enabled the <code>show_exceptions</code> setting.</p>
</div> <!-- /WRAP -->
</body>
</html>
View
2 test/options_test.rb
@@ -219,7 +219,7 @@ def clean_backtrace(trace)
get '/'
assert_equal 500, status
assert body.include?("StandardError")
- assert body.include?("<code>show_exceptions</code> option")
+ assert body.include?("<code>show_exceptions</code> setting")
end
end

0 comments on commit c0745cc

Please sign in to comment.
Something went wrong with that request. Please try again.