Issues

ZF-10498: Exception thrown in destructor

Description

Zend_Log's __destruct method may throw exceptions in case any writer's shutdown() does. According to PHP's manual, it is a bug to throw exceptions inside destructors.

Comments

No writer can throw an exception in the shutdown method. The mail writer has try/catch, and others can not throw an exception.