Merge pull request #259 from carusogabriel/process-command

[ProcessCommand] Add one line between the progress bar and Exception trace
This commit is contained in:
Tomáš Votruba 2018-01-02 18:59:37 +01:00 committed by GitHub
commit bddf758654
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -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
);