diff options
author | Joey Hess <joey@kodama.kitenet.net> | 2007-11-17 14:06:11 -0500 |
---|---|---|
committer | Joey Hess <joey@kodama.kitenet.net> | 2007-11-17 14:06:11 -0500 |
commit | 466a094928b36d09f09286a3dc059f02a879d355 (patch) | |
tree | 4bb8cfd07f82739d694d96ceaf9ef4e77c7659ab /IkiWiki | |
parent | 134dc894b6c1d230852c7a5f7212b2f383fef39b (diff) |
* Better error message when a setup file has a syntax error.
Closes: #451666
Diffstat (limited to 'IkiWiki')
-rw-r--r-- | IkiWiki/Setup.pm | 2 |
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; } #}}} |