adds logging message for unknown type