diff options
author | Kazuhiro NISHIYAMA <[email protected]> | 2020-06-19 20:12:49 +0900 |
---|---|---|
committer | Kazuhiro NISHIYAMA <[email protected]> | 2020-06-19 20:13:22 +0900 |
commit | daa9dcd57ecb84e108d2390a361790f29ed415e7 (patch) | |
tree | 4f0135e35c75fdfb73993db6944ef74626fe86b2 /lib/webrick/httpservlet/filehandler.rb | |
parent | 63aadc237f48be23803acae724401f8b4221fa38 (diff) |
Hide error location from error message
Diffstat (limited to 'lib/webrick/httpservlet/filehandler.rb')
-rw-r--r-- | lib/webrick/httpservlet/filehandler.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/webrick/httpservlet/filehandler.rb b/lib/webrick/httpservlet/filehandler.rb index 5bd96317e6..06d1a3067d 100644 --- a/lib/webrick/httpservlet/filehandler.rb +++ b/lib/webrick/httpservlet/filehandler.rb @@ -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) |