HomePhorge

Maint: Added assertion to make sure Log.close_all succeeds
e8254856a5c9Unpublished

Unpublished Commit · Learn More

Repository Importing: This repository is still importing.

Description

Maint: Added assertion to make sure Log.close_all succeeds

If the hash containing log destinations gets corrupted, Log.close_all
could fail silently. This change adds an exception to make these
failures easier to debug should they ever happen again.

Details

Provenance
Paul Berry <paul@puppetlabs.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPUcf18353472ce: Maint: Switched spec tests to use a class rather than Array as the log…
Branches
Unknown
Tags
Unknown

Event Timeline

Paul Berry <paul@puppetlabs.com> committed rPUe8254856a5c9: Maint: Added assertion to make sure Log.close_all succeeds (authored by Paul Berry <paul@puppetlabs.com>).Nov 18 2010, 11:55 PM