Temp fix
Added logging if something goes wrong
Merge pull request #170 from erwinwinder/master

Fix for tfn dataset