From 466a094928b36d09f09286a3dc059f02a879d355 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sat, 17 Nov 2007 14:06:11 -0500 Subject: * Better error message when a setup file has a syntax error. Closes: #451666 --- IkiWiki/Setup.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'IkiWiki') diff --git a/IkiWiki/Setup.pm b/IkiWiki/Setup.pm index 2d6e1d1cf..235e93eaf 100644 --- a/IkiWiki/Setup.pm +++ b/IkiWiki/Setup.pm @@ -22,7 +22,7 @@ sub setup () { # {{{ close IN; eval $code; - error($@) if $@; + error("$setup: ".$@) if $@; exit; } #}}} -- cgit v1.2.3