log.error when args not array