Logging exceptions
Merge pull request #101 from MSOpenTech/logging

Logging exceptions