mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-10 19:43:16 +00:00
Avoid errors by explicitely namespacing root exception
This commit is contained in:
@@ -58,7 +58,7 @@ class recordutils_image extends recordutils
|
||||
if (MediaInterface::TYPE_IMAGE === $image->getType()) {
|
||||
$rotation = $image->getOrientation();
|
||||
}
|
||||
} catch (Exception $e) {
|
||||
} catch (\Exception $e) {
|
||||
// getting orientation failed but we don't care the reason
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user