Error handling for loadbalancer functionality-1