Skip to content

Commit

Permalink
Fix log message
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkejN committed Mar 8, 2023
1 parent 285baea commit c1ac494
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/MetadataCleaner/CleanerUtil.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,13 @@ public function __construct(
public function logResult(ProcessResult $result): void
{
if ($result->success) {
$this->contaoFilesLogger->info("File {$result->path} has been cleaned up");
$this->contaoFilesLogger->info("File \"{$result->path}\" has been cleaned up");

return;
}

$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->process->getErrorOutput()}"
);
}

Expand Down

0 comments on commit c1ac494

Please sign in to comment.