log exception
Merge pull request #52 from dimagi/log

log exception