diff options
author | Daniel Pittman <daniel@puppetlabs.com> | 2011-03-31 16:46:43 -0700 |
---|---|---|
committer | Daniel Pittman <daniel@puppetlabs.com> | 2011-04-04 10:19:53 -0700 |
commit | 3d88808270e9a0cb848a66825c66676598559dc3 (patch) | |
tree | 617dcec0462f7c56537c84bcb9e50ded0357901a /lib/puppet/util/rdoc/code_objects.rb | |
parent | c52261c7aa86e7e75f215ba0f6b8c140003c4ead (diff) | |
download | puppet-3d88808270e9a0cb848a66825c66676598559dc3.tar.gz puppet-3d88808270e9a0cb848a66825c66676598559dc3.tar.xz puppet-3d88808270e9a0cb848a66825c66676598559dc3.zip |
(#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>
Diffstat (limited to 'lib/puppet/util/rdoc/code_objects.rb')
0 files changed, 0 insertions, 0 deletions