Created NotifyNewShortUrlToMercureTest

This commit is contained in:
Alejandro Celaya
2022-07-25 09:30:25 +02:00
parent be1ce06c00
commit 019bd4dec8
3 changed files with 107 additions and 4 deletions

View File

@@ -38,9 +38,7 @@ class NotifyNewShortUrlToMercure
try {
$this->hub->publish($this->updatesGenerator->newShortUrlUpdate($shortUrl));
} catch (Throwable $e) {
$this->logger->debug('Error while trying to notify mercure hub with new short URL. {e}', [
'e' => $e,
]);
$this->logger->debug('Error while trying to notify mercure hub with new short URL. {e}', ['e' => $e]);
}
}
}