Add option to log missing attachments

If unset, then raise an error
v1.1.2
Propagate unpublished docs properly