Log an exception if variante is not set