diff options
author | Luke Kanies <luke@madstop.com> | 2008-05-12 15:55:02 -0500 |
---|---|---|
committer | Luke Kanies <luke@madstop.com> | 2008-05-12 15:55:02 -0500 |
commit | 270c007672c9a0458f14189cff3ccf1ff6311963 (patch) | |
tree | 25f26ddb508c61f37dd2c3c3d6376e41c3c99c08 /lib/puppet/parser/interpreter.rb | |
parent | f3fa58927527632472372a2612b288805b877b4f (diff) | |
download | puppet-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/puppet/parser/interpreter.rb')
-rw-r--r-- | lib/puppet/parser/interpreter.rb | 2 |
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 |