add document metadata to pillowtop errors
add comment and try-except block
Merge pull request #89 from dimagi/doc_meta

add document metadata to pillowtop errors