Skip to content

Commit

Permalink
Don't call super on CustomException
Browse files Browse the repository at this point in the history
  • Loading branch information
sdogruyol committed Feb 3, 2024
1 parent bb9105f commit bef7351
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/kemal/helpers/exceptions.cr
Original file line number Diff line number Diff line change
Expand Up @@ -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

1 comment on commit bef7351

@Sija
Copy link
Contributor

@Sija Sija commented on bef7351 Feb 8, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sdogruyol This commit broke CI :/

Please sign in to comment.