pdf = Prawn::Document.new
pdf.markup('<p>some text</p><img src="https://dlawjdklwajdwakl.djwakldj"><p>some other text</p>')
It fails with SocketError (Failed to open TCP connection to dlawjdklwajdwakl.djwakldj:443 (getaddrinfo: Name or service not known)). Of course this exception is correct because the URL does not exist, but is there a possibility to ignore this non-existant URL?
Suppose you got this code:
It fails with
SocketError (Failed to open TCP connection to dlawjdklwajdwakl.djwakldj:443 (getaddrinfo: Name or service not known))
. Of course this exception is correct because the URL does not exist, but is there a possibility to ignore this non-existant URL?This exception is not caught by https://github.com/puzzle/prawn-markup/blob/master/lib/prawn/markup/processor/images.rb#L75