mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-10 11:33:17 +00:00
Avoid errors by explicitely namespacing root exception
This commit is contained in:
@@ -78,7 +78,7 @@ class module_console_sphinxGenerateSuggestion extends Command
|
||||
|
||||
try {
|
||||
$connbas = connection::getPDOConnection($this->container, $sbas_id);
|
||||
} catch (Exception $e) {
|
||||
} catch (\Exception $e) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user