diff --git a/modules/islandora_iiif/src/IiifInfo.php b/modules/islandora_iiif/src/IiifInfo.php index 32ccedfa..66d83fe3 100644 --- a/modules/islandora_iiif/src/IiifInfo.php +++ b/modules/islandora_iiif/src/IiifInfo.php @@ -10,6 +10,7 @@ use Drupal\jwt\Authentication\Provider\JwtAuth; use GuzzleHttp\Client; use GuzzleHttp\Exception\ClientException; use GuzzleHttp\Exception\ConnectException; +use GuzzleHttp\Exception\ServerException; /** * Get IIIF related info for a given File or Image entity. @@ -120,7 +121,7 @@ class IiifInfo { return [intval($width), intval($height)]; } } - catch (ClientException | ConnectException $e) { + catch (ClientException | ConnectException | ServerException $e) { $this->logger->info("Error getting image file dimensions from IIIF server: " . $e->getMessage()); } return FALSE;