printing the exception

Found a bug in the logging code where the exceptions weren't being printed :cry: 
I'm trimming an empty line, is it always going to be `\r\n`?