git: b19f1b1894 - main - macros: Unbreak build

Fernando Apesteguía <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.doc
Message-ID <[email protected]>
The branch main has been updated by fernape:

URL: https://cgit.FreeBSD.org/doc/commit/?id=b19f1b1894932071da107f210d1cbc6539d20175

commit b19f1b1894932071da107f210d1cbc6539d20175
Author:     Fernando Apesteguía <[email protected]>
AuthorDate: 2024-09-23 05:23:37 +0000
Commit:     Fernando Apesteguía <[email protected]>
CommitDate: 2024-09-23 05:23:37 +0000

    macros: Unbreak build
    
    Use a warning instead of an error for now.
---
 shared/lib/InterDocumentReferencesMacro/extension.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/shared/lib/InterDocumentReferencesMacro/extension.rb b/shared/lib/InterDocumentReferencesMacro/extension.rb
index da18d39935..e05cfe0a6f 100644
--- a/shared/lib/InterDocumentReferencesMacro/extension.rb
+++ b/shared/lib/InterDocumentReferencesMacro/extension.rb
@@ -13,7 +13,7 @@ class InterDocumentReferencesMacro < Asciidoctor::Extensions::InlineMacroProcess
     text = attrs[2]
 
     if text.nil? || text.empty?
-      raise StandardError, "Crossref needs a description."
+      warn "Crossref needs a description."
     end
 
     doc = parent.document
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.