refactor(discovery): clarify file processing error message in FileProcessor logging
This commit is contained in:
@@ -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)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user