error handling between haproxy versions