puppetlabs/trapperkeeper — pull request #130 by KevinCorcoran (2014-03-19 22:29:40+00:00)
Title: (PE-3194) improve shutdown-on-error error handling

Ensure that `shutdown-on-error` never throws an exception by replacing
its pre-conditions with assertions inside the body of the function,
so that if they fail, the error will be handled properly.