aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2007-11-17 14:06:11 -0500
committerJoey Hess <joey@kodama.kitenet.net>2007-11-17 14:06:11 -0500
commit466a094928b36d09f09286a3dc059f02a879d355 (patch)
tree4bb8cfd07f82739d694d96ceaf9ef4e77c7659ab /IkiWiki
parent134dc894b6c1d230852c7a5f7212b2f383fef39b (diff)
downloadikiwiki-466a094928b36d09f09286a3dc059f02a879d355.tar
ikiwiki-466a094928b36d09f09286a3dc059f02a879d355.tar.gz
* Better error message when a setup file has a syntax error.
Closes: #451666
Diffstat (limited to 'IkiWiki')
-rw-r--r--IkiWiki/Setup.pm2
1 files changed, 1 insertions, 1 deletions
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;
} #}}}