printing the exception

Found a bug in the logging code where the exceptions weren't being printed :cry: