mirror of
https://gitea.invidious.io/iv-org/shard-kemal.git
synced 2024-08-15 00:53:36 +00:00
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)
|
HTTP::Response.new("HTTP/1.1", 500, "Internal Server Error", {"Content-Type" => "text/plain"}, ex.to_s)
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
HTTP::Response.new("HTTP/1.1", 404, "Not Found", {"Content-Type" => "text/plain"}, "Not Found")
|
call_next(request)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue