diff --git a/src/services/Service.php b/src/services/Service.php index 780d2f9..2c240e5 100644 --- a/src/services/Service.php +++ b/src/services/Service.php @@ -36,11 +36,11 @@ public function beforeHandleAssetFile(AssetEvent $event) // Because this is fired on the before-save event, and validation hasn't kicked in yet // we check it here. Otherwise, we potentially process it twice when there's a conflict. - if (!$asset->validate()) { - ImageResizer::$plugin->logs->resizeLog(null, 'error', $filename, ['message' => json_encode($asset->getErrors())]); + // if (!$asset->validate()) { + // ImageResizer::$plugin->logs->resizeLog(null, 'error', $filename, ['message' => json_encode($asset->getErrors())]); - return; - } + // return; + // } // Should we be modifying images in this source? if (!ImageResizer::$plugin->service->getSettingForAssetSource($asset->volumeId, 'enabled')) {