Skip to content

Commit bef7351

Browse files
committed
Don't call super on CustomException
1 parent bb9105f commit bef7351

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/kemal/helpers/exceptions.cr

-2
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@ module Kemal::Exceptions
1616
def initialize(context : HTTP::Server::Context, message : String = "")
1717
@context = context
1818
@message = message
19-
20-
super "Rendered error with #{context.response.status_code}"
2119
end
2220
end
2321
end

0 commit comments

Comments
 (0)