Skip to content

Commit a82fc45

Browse files
committed
MAGETWO-52000: [Github][PR]impossible to see what is wrong with cron - unhelpful error message #3189
- CR comment
1 parent 28b1eb3 commit a82fc45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Catalog/Console/Command/ImagesResizeCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ protected function execute(InputInterface $input, OutputInterface $output)
7979
if (!count($productIds)) {
8080
$output->writeln("<info>No product images to resize</info>");
8181
// we must have an exit code higher than zero to indicate something was wrong
82-
return \Magento\Framework\Console\Cli::RETURN_FAILURE;
82+
return \Magento\Framework\Console\Cli::RETURN_SUCCESS;
8383
}
8484

8585
try {

0 commit comments

Comments
 (0)