feat: some stuff

This commit is contained in:
Vincent
2024-08-26 14:02:12 +02:00
parent 3e3ea66848
commit 7861eaf5db
8 changed files with 30 additions and 8 deletions

View File

@@ -73,9 +73,10 @@ final readonly class ProcessDomainTriggerHandler
$connectorProvider->orderDomain($domain, $this->kernel->isDebug());
$this->sendEmailDomainOrdered($domain, $connector, $watchList->getUser());
} catch (\Throwable) {
$this->logger->warning('Unable to complete purchase. An error message is sent to user {username}.', [
} catch (\Throwable $t) {
$this->logger->error('Unable to complete purchase. An error message is sent to user {username}.', [
'username' => $watchList->getUser()->getUserIdentifier(),
'error' => $t,
]);
$this->sendEmailDomainOrderError($domain, $watchList->getUser());
}