diff --git a/src/Console/Command/ProcessCommand.php b/src/Console/Command/ProcessCommand.php index d2d4ccba4a6..48765c2e5b8 100644 --- a/src/Console/Command/ProcessCommand.php +++ b/src/Console/Command/ProcessCommand.php @@ -159,8 +159,9 @@ final class ProcessCommand extends Command try { $this->processFile($fileInfo, $i); } catch (Throwable $throwable) { + $this->consoleStyle->newLine(); throw new FileProcessingException( - sprintf('Processing of "%s" file failed.', $fileInfo->getRealPath()), + sprintf('Processing of "%s" file failed.', $fileInfo->getPathname()), $throwable->getCode(), $throwable );