Removed logging from broken files handling in codegen

Logging was a relic of elderberry 1, exceptions contain all the
information the log would have provided.

Also added tests.