Don't call super on CustomException

This commit is contained in:
Serdar Dogruyol 2024-02-03 13:48:18 +03:00
parent bb9105f202
commit bef7351000

View file

@ -16,8 +16,6 @@ module Kemal::Exceptions
def initialize(context : HTTP::Server::Context, message : String = "")
@context = context
@message = message
super "Rendered error with #{context.response.status_code}"
end
end
end