Skip to content

Commit 9f433f0

Browse files
authored
[framework] change monolog error context key for cron error messages (#2933)
1 parent ab086a7 commit 9f433f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Component/Cron/CronFacade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ protected function runSingleModule(CronModuleConfig $cronModuleConfig)
9797
} catch (Throwable $throwable) {
9898
$this->cronModuleFacade->markCronAsFailed($cronModuleConfig);
9999
$this->logger->error('End of ' . $cronModuleConfig->getServiceId() . ' because of error', [
100-
'throwable' => $throwable,
100+
'exception' => $throwable,
101101
]);
102102

103103
throw $throwable;

0 commit comments

Comments
 (0)