mirror of
https://github.com/sinatra/sinatra
synced 2023-03-27 23:18:01 -04:00
Merge pull request #1566 from stefansundin/NotFound-message
Add message to NotFound exception
This commit is contained in:
commit
f515356e47
1 changed files with 1 additions and 1 deletions
|
@ -1050,7 +1050,7 @@ module Sinatra
|
|||
if @app
|
||||
forward
|
||||
else
|
||||
raise NotFound
|
||||
raise NotFound, "#{request.request_method} #{request.path_info}"
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue