Currently, when printing a document in an error message the document may be multiple lines. Error messages are typically single lines.