PDOAppender should throw LoggerException on database problems
-------------------------------------------------------------
Key: LOG4PHP-63
URL: https://issues.apache.org/jira/browse/LOG4PHP-63
Project: Log4php
Issue Type: Improvement
Components: Code
Affects Versions: 2.0
Reporter: Christian Hammers
Fix For: 2.0
Attachments: PDOException.diff
As discussed on the mailing list I want log4php to rather throw an Exception
than to silently do nothing. The proposed LoggerException is an good idea.
Re-throwing every possible PDO exception does not make the code cleaner,
though. But luckily it's only necessary in two functions.
A patch for code and unit test is attached.
bye,
-christian-
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.