mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Hide error location from error message
This commit is contained in:
parent
63aadc237f
commit
daa9dcd57e
1 changed files with 1 additions and 1 deletions
|
@ -298,7 +298,7 @@ module WEBrick
|
|||
end
|
||||
|
||||
def exec_handler(req, res)
|
||||
raise HTTPStatus::NotFound, "`#{req.path}' not found" unless @root
|
||||
raise HTTPStatus::NotFound, "`#{req.path}' not found." unless @root
|
||||
if set_filename(req, res)
|
||||
handler = get_handler(req, res)
|
||||
call_callback(:HandlerCallback, req, res)
|
||||
|
|
Loading…
Add table
Reference in a new issue