Frank::Handler calls next handlers when the request could not be served
This commit is contained in:
parent
2eaf44195e
commit
c74e7f898b
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ class Frank::Handler < HTTP::Handler
|
|||
HTTP::Response.new("HTTP/1.1", 500, "Internal Server Error", {"Content-Type" => "text/plain"}, ex.to_s)
|
||||
end
|
||||
else
|
||||
HTTP::Response.new("HTTP/1.1", 404, "Not Found", {"Content-Type" => "text/plain"}, "Not Found")
|
||||
call_next(request)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue