diff --git a/Classes/Service/ThumbnailGenerator.php b/Classes/Service/ThumbnailGenerator.php index 84ef22f..866c599 100644 --- a/Classes/Service/ThumbnailGenerator.php +++ b/Classes/Service/ThumbnailGenerator.php @@ -104,10 +104,12 @@ public function fetchThumbnailFromFilePreviewApi($previewIdentifier, Thumbnail $ $response->error->message, $response->error->code ); + $this->logger->error($message, [$response]); throw new FilePreviewException($message, 1594730717); } if ($response->status !== self::API_STATUS_SUCCESS || !isset($response->thumbnails[0])) { + $this->logger->error('Unable to process the thumbnail', [$response]); throw new Exception('Unable to process the thumbnail', 1594729983); }