forked from rack/rack
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make Rack::Request#{[],[]=} warn even in non-verbose mode
Additionally, use the :uplevel keyword to warn, so it includes the caller information in the warning output (similar to rb_warn). This only works on Ruby 2.5+, so output will look a little odd on Ruby 2.3/2.4, but I don't think it warrants separate handling in older versions. Fixes rack#1277
- Loading branch information
1 parent
5791ef6
commit 058fa08
Showing
3 changed files
with
31 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters