Skip to content

Commit b676f74

Browse files
committed
Fix bug: Couldn't retrive a remote preview image file.
1 parent be05c58 commit b676f74

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/ProductVideo/Controller/Adminhtml/Product/Gallery/RetrieveImage.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ protected function retrieveRemoteImage($fileUrl, $localFilePath)
132132
$this->curl->write('GET', $fileUrl);
133133
$image = $this->curl->read();
134134
if (empty($image)) {
135-
throw new \InvalidArgumentException("Couldn't retrive a remote preview image file. Service is inaccessible.");
135+
throw new \InvalidArgumentException(__('Couldn\'t retrive a remote preview image file. Service is inaccessible.'));
136136
}
137137
$this->fileUtility->saveFile($localFilePath, $image);
138138
}

0 commit comments

Comments
 (0)