refactor(discovery): clarify file processing error message in FileProcessor logging

This commit is contained in:
2025-11-04 01:05:03 +01:00
parent 3085739e34
commit 1a31ce66c9

View File

@@ -130,7 +130,7 @@ final readonly class FileProcessor implements DiscoveryProcessor
} catch (Throwable $e) { } catch (Throwable $e) {
$this->logger?->warning( $this->logger?->warning(
"Failed to process file {$file->getPath()->toString()}: {$e->getMessage()}", LogContext::withException($e) "Failed to process file {$file->getPath()->toString()}: {$e->getMessage()} in FileProcessor.", LogContext::withException($e)
); );
} }
} }