HomePhorge

(PUP-2298) Use resource specific log_exception
3062b78db582Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(PUP-2298) Use resource specific log_exception

Previously, we were logging the exception using Puppet.err and
passing in the resource reference in the message.

This commit changes it to use the log_exception method mixed into the
resource (Puppet::Type) so that we get resource-specific error
messages.

Error: /Stage[main]/Main/Notify[hello]: something is not right

Details

Provenance
Josh Cooper <josh@puppetlabs.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPUda800647c29e: (PUP-2298) protect transaction spec test against new exceptions
Branches
Unknown
Tags
Unknown

Event Timeline

Josh Cooper <josh@puppetlabs.com> committed rPU3062b78db582: (PUP-2298) Use resource specific log_exception (authored by Josh Cooper <josh@puppetlabs.com>).May 28 2014, 10:05 PM