From: joey Date: Sat, 22 Sep 2007 18:10:40 +0000 (+0000) Subject: improve diagnostics X-Git-Tag: 2.9~52 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=4ccb9be7c644c6ecc691a6eb666607e39ce8d9d2;p=ikiwiki.git improve diagnostics --- diff --git a/IkiWiki.pm b/IkiWiki.pm index 1c15e9299..0b9790d8a 100644 --- a/IkiWiki.pm +++ b/IkiWiki.pm @@ -1223,7 +1223,7 @@ sub match_link ($$;@) { #{{{ if $bestlink eq IkiWiki::bestlink($page, $p); } else { - return IkiWiki::SuccessReason->new("$page links to page matching $link") + return IkiWiki::SuccessReason->new("$page links to page $p matching $link") if match_glob($p, $link, %params); } }