fix error message to include url
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Sat, 31 Mar 2007 03:26:43 +0000 (03:26 +0000)
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Sat, 31 Mar 2007 03:26:43 +0000 (03:26 +0000)
IkiWiki/Plugin/aggregate.pm

index f353cb0ca83dd54e71f96ea030058f193bc822d3..6e4834ce0457b60581c05992d8ffcb5e686fa042 100644 (file)
@@ -244,7 +244,7 @@ sub aggregate () { #{{{
                if (! length $feed->{feedurl}) {
                        my @urls=XML::Feed->find_feeds($feed->{url});
                        if (! @urls) {
-                               $feed->{message}=sprintf(gettext("could not find feed at %s"), $feed->{feedurl});
+                               $feed->{message}=sprintf(gettext("could not find feed at %s"), $feed->{url});
                                $feed->{error}=1;
                                debug($feed->{message});
                                next;