mirror of
https://gitea.invidious.io/iv-org/shard-kemal.git
synced 2024-08-15 00:53:36 +00:00
Don't call super on CustomException
This commit is contained in:
parent
bb9105f202
commit
bef7351000
1 changed files with 0 additions and 2 deletions
|
@ -16,8 +16,6 @@ module Kemal::Exceptions
|
||||||
def initialize(context : HTTP::Server::Context, message : String = "")
|
def initialize(context : HTTP::Server::Context, message : String = "")
|
||||||
@context = context
|
@context = context
|
||||||
@message = message
|
@message = message
|
||||||
|
|
||||||
super "Rendered error with #{context.response.status_code}"
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue