case.
                # You can customize this by passing your own error handler.
                if response is None:
                    response = BoltResponse(status=500)
                response.status = 500
                self.listener_error_handler.handle(
                    error=e,
                    request=request,
                    response=response,
                )
                ack.response = response
            finally:
                self.listener_completion_handler.handle(
      