diff --git a/src/kemal/exceptions.cr b/src/kemal/exceptions.cr index ef5d9a6..4e641f5 100644 --- a/src/kemal/exceptions.cr +++ b/src/kemal/exceptions.cr @@ -6,10 +6,9 @@ module Kemal::Exceptions end class CustomException < Exception - getter context - def initialize(@context) - super "Rendered error with #{@context.response.status_code}" + def initialize(context) + super "Rendered error with #{context.response.status_code}" end end end