Bug 906056: log the details of exceptions during cleanup. r=ctalbert