add some extra debugging info for a issue with attachments
oops fix previous commit
Merge branch 'master' into extra-debugging
Merge pull request #549 from dimagi/extra-debugging

Extra debugging