HomePhorge

(#6749) base indirector string should fail on invalid terminus.
3d88808270e9Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(#6749) base indirector string should fail on invalid terminus.

We used to generate an info-level message, then carry on, which typically
resulted in raising because 'nil' doesn't implement the expected method that
we immediately try to call.

So, instead, raise a clear error at the time we fail to load, which gives a
pleasant rather than confusing error to the user. Which at least means they
know why things have gone wrong...

Reviewed-By: Pieter van de Bruggen <pieter@puppetlabs.com>

Details

Provenance
Daniel Pittman <daniel@puppetlabs.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPUc52261c7aa86: (#6749) disable Action#invoke for this release.
Branches
Unknown
Tags
Unknown

Event Timeline

Daniel Pittman <daniel@puppetlabs.com> committed rPU3d88808270e9: (#6749) base indirector string should fail on invalid terminus. (authored by Daniel Pittman <daniel@puppetlabs.com>).Apr 4 2011, 7:19 PM