adds logging message for unknown type

Fixes #29 

I think that a logger message is more appropriate than an exception.

per comment from @jkeck