Remove error suppression that is no longer necessary

This commit is contained in:
Alex Cabal 2024-05-10 21:08:32 -05:00
parent c4c8e7353f
commit eb376c87bd

View file

@ -250,8 +250,7 @@ class Artwork{
protected function GetDimensions(): string{
$this->_Dimensions = '';
try{
// Safe\getimagesize() emits a warning if the file doesn't exist
list($imageWidth, $imageHeight) = @getimagesize($this->ImageFsPath);
list($imageWidth, $imageHeight) = getimagesize($this->ImageFsPath);
if($imageWidth && $imageHeight){
$this->_Dimensions = number_format($imageWidth) . ' × ' . number_format($imageHeight);
}