logging an error if we can't connect to the z server