X-Git-Url: https://sipb.mit.edu/gitweb.cgi/ikiwiki.git/blobdiff_plain/5a82103526ab32e018cd999bb6a53d9e097c83a8..389ad222ec2e0457106339fb71713dad7b95f80e:/IkiWiki/Render.pm diff --git a/IkiWiki/Render.pm b/IkiWiki/Render.pm index 5b951df83..d08653711 100644 --- a/IkiWiki/Render.pm +++ b/IkiWiki/Render.pm @@ -155,8 +155,8 @@ sub scan ($) { #{{{ push @links, titlepage($2); } if ($config{discussion}) { - # Discussion links are a special case since they're not in the - # text of the page, but on its template. + # Discussion links are a special case since they're + # not in the text of the page, but on its template. push @links, "$page/discussion"; } $links{$page}=\@links; @@ -213,6 +213,7 @@ sub refresh () { #{{{ my %exists; my @files; eval q{use File::Find}; + error($@) if $@; find({ no_chdir => 1, wanted => sub {