Cast exportId to string in logging for consistent logging output

This commit is contained in:
2025-06-17 12:11:11 +02:00
parent a0daf4428f
commit 110a2e894f

View File

@@ -43,7 +43,7 @@ final readonly class ExportRequestGenerationMessageHandler implements MessageHan
$this->logger->info(
self::LOG_PREFIX.'Handle generation message',
[
'exportId' => $exportRequestGenerationMessage->id,
'exportId' => (string) $exportRequestGenerationMessage->id,
]
);
@@ -68,7 +68,7 @@ final readonly class ExportRequestGenerationMessageHandler implements MessageHan
$end = microtime(true);
$this->logger->notice(self::LOG_PREFIX.'Export generation successfully finished', [
'exportId' => $exportRequestGenerationMessage->id,
'exportId' => (string) $exportRequestGenerationMessage->id,
'exportAlias' => $exportGeneration->getExportAlias(),
'full_generation_duration' => $end - $exportGeneration->getCreatedAt()->getTimestamp(),
'message_handler_duration' => $end - $start,