Print the name of the offending document when there is an error