mirror of
https://github.com/dg/dibi.git
synced 2025-10-24 19:26:10 +02:00
* renamed DibiDatabaseException to DibiDriverException
* PDO driver convert PDOExceptions to DibiDriverException
This commit is contained in:
@@ -73,7 +73,7 @@ final class DibiLogger extends NObject
|
||||
}
|
||||
|
||||
if ($event === 'exception' && $this->logErrors) {
|
||||
// $arg is DibiDatabaseException
|
||||
// $arg is DibiDriverException
|
||||
$message = $arg->getMessage();
|
||||
$code = $arg->getCode();
|
||||
if ($code) {
|
||||
|
||||
Reference in New Issue
Block a user