Added logging of conversion error