mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-07-12 20:06:13 +00:00
Cast exportId
to string in logging for consistent logging output
This commit is contained in:
parent
a0daf4428f
commit
110a2e894f
@ -43,7 +43,7 @@ final readonly class ExportRequestGenerationMessageHandler implements MessageHan
|
|||||||
$this->logger->info(
|
$this->logger->info(
|
||||||
self::LOG_PREFIX.'Handle generation message',
|
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);
|
$end = microtime(true);
|
||||||
|
|
||||||
$this->logger->notice(self::LOG_PREFIX.'Export generation successfully finished', [
|
$this->logger->notice(self::LOG_PREFIX.'Export generation successfully finished', [
|
||||||
'exportId' => $exportRequestGenerationMessage->id,
|
'exportId' => (string) $exportRequestGenerationMessage->id,
|
||||||
'exportAlias' => $exportGeneration->getExportAlias(),
|
'exportAlias' => $exportGeneration->getExportAlias(),
|
||||||
'full_generation_duration' => $end - $exportGeneration->getCreatedAt()->getTimestamp(),
|
'full_generation_duration' => $end - $exportGeneration->getCreatedAt()->getTimestamp(),
|
||||||
'message_handler_duration' => $end - $start,
|
'message_handler_duration' => $end - $start,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user