def call(env)
      @app.call(env)
    rescue Exception => captured_exception
      if allow_handling?(captured_exception)
        PartyFoul::ExceptionHandler.handle(FilteredException.new(captured_exception), env)
      end
      raise captured_exception
    end
def call(env)
      @app.call(env)
    rescue Exception => captured_exception
      if allow_handling?(captured_exception)
        PartyFoul::ExceptionHandler.handle(FilteredException.new(captured_exception), env)
      end
      raise captured_exception
    end
rubocop:disable Lint/RescueException