Add stack traces to log when exceptions occur
Merge pull request #1 from mcamou/master

Logging exceptions when exceptions happen