mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-12 04:23:19 +00:00
Avoid errors by explicitely namespacing root exception
This commit is contained in:
@@ -35,7 +35,7 @@ class connection_pdoStatementDebugger
|
||||
$exception = null;
|
||||
try {
|
||||
$result = $this->statement->execute($params);
|
||||
} catch (Exception $e) {
|
||||
} catch (\Exception $e) {
|
||||
$exception = $e;
|
||||
}
|
||||
$time = microtime(true) - $start;
|
||||
|
Reference in New Issue
Block a user