Issue #19983 has been updated by Matthaus Owens.

Status changed from Merged - Pending Release to Closed

Released in Puppet 3.2.0-rc1

----------------------------------------
Bug #19983: egrammar parser loses filename in error messages
https://projects.puppetlabs.com/issues/19983#change-89523

* Author: eric sorenson
* Status: Closed
* Priority: Normal
* Assignee: Henrik Lindberg
* Category: 
* Target version: 3.2.0
* Affected Puppet version: 
* Keywords: egrammar
* Branch: 
----------------------------------------
Using the egrammar parser, some classes of errors are missing the filename 
which encountered the error, making things more difficult to debug. 

<b>New:</b>
<pre>
[vagrant@glitched ~]$ sudo puppet agent -tv --server glitched.local
err: Could not retrieve catalog from remote server: Error 400 on SERVER: Could 
not find template '' at line 103 on node glitched.local
warning: Not using cache on failed catalog
err: Could not retrieve catalog; skipping run
</pre>
<b>Old:</b>
<pre>
[vagrant@glitched ~]$ sudo puppet agent -tv --server glitched.local
err: Could not retrieve catalog from remote server: Error 400 on SERVER: Could 
not find template '' at 
/Sandbox/fosdem/puppet/modules/apache/manifests/vhost.pp:103 on node 
glitched.local
</pre>


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to