gracefully handle the DocumentMissingException