web commit by http://ethan.betacantrips.com/: helpful to me, anyhow

master
joey 2007-04-08 04:17:39 +00:00
parent 9e28f4b33f
commit 710a9b3782
1 changed files with 17 additions and 0 deletions

View File

@ -0,0 +1,17 @@
Just a one-liner patch to make srcfile more descriptive when it fails. --Ethan
<pre>
Index: IkiWiki.pm
===================================================================
--- IkiWiki.pm (revision 3194)
+++ IkiWiki.pm (working copy)
@@ -247,7 +247,7 @@
return "$config{srcdir}/$file" if -e "$config{srcdir}/$file";
return "$config{underlaydir}/$file" if -e "$config{underlaydir}/$file";
- error("internal error: $file cannot be found");
+ error("internal error: $file cannot be found in $config{srcdir} or $config{underlaydir}");
} #}}}
sub readfile ($;$$) { #{{{
</pre>