We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 02125b9 + d3648e0 commit 30c9ac6Copy full SHA for 30c9ac6
lib/XML/Feed.pm
@@ -48,7 +48,11 @@ sub parse {
48
} else {
49
$xml = $class->get_file($stream);
50
}
51
- return $class->error("Can't get feed XML content from $stream")
+ my $errstr = "Can't get feed XML content from $stream";
52
+ if ($class->errstr) {
53
+ $errstr .= ": " . $class->errstr;
54
+ }
55
+ return $class->error($errstr)
56
unless $xml;
57
my $format;
58
if ($specified_format) {
0 commit comments