summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2008-05-12 15:55:02 -0500
committerLuke Kanies <luke@madstop.com>2008-05-12 15:55:02 -0500
commit270c007672c9a0458f14189cff3ccf1ff6311963 (patch)
tree25f26ddb508c61f37dd2c3c3d6376e41c3c99c08 /lib
parentf3fa58927527632472372a2612b288805b877b4f (diff)
downloadpuppet-270c007672c9a0458f14189cff3ccf1ff6311963.tar.gz
puppet-270c007672c9a0458f14189cff3ccf1ff6311963.tar.xz
puppet-270c007672c9a0458f14189cff3ccf1ff6311963.zip
Clarifying the exception when there's a syntax error but a valid parser.
This is related to #1215.
Diffstat (limited to 'lib')
-rw-r--r--lib/puppet/parser/interpreter.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/puppet/parser/interpreter.rb b/lib/puppet/parser/interpreter.rb
index f27c1c5c8..04ca41494 100644
--- a/lib/puppet/parser/interpreter.rb
+++ b/lib/puppet/parser/interpreter.rb
@@ -62,7 +62,7 @@ class Puppet::Parser::Interpreter
# exception elsewhere and reuse the parser. If one doesn't
# exist, then reraise.
if @parsers[environment]
- Puppet.err detail
+ Puppet.err(detail.to_s + "; using previously parsed manifests")
else
raise detail
end