Skip to content

Commit

Permalink
Use helper method for error output
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkejN committed Mar 8, 2023
1 parent c1ac494 commit 2cbe0e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/MetadataCleaner/CleanerUtil.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public function logResult(ProcessResult $result): void
}

$this->contaoErrorLogger->error(
"File \"{$result->path}\" could not be processed with {$result->name}: {$result->process->getErrorOutput()}"
"File \"{$result->path}\" could not be processed with {$result->name}: {$result->getMessage()}"
);
}

Expand Down

0 comments on commit 2cbe0e2

Please sign in to comment.