added logger output for exceptions in TextReader