Skip to content

Commit

Permalink
show url directly in log message
Browse files Browse the repository at this point in the history
Signed-off-by: Benjamin Brahmer <[email protected]>
  • Loading branch information
Grotax committed Jan 10, 2025
1 parent dc33a85 commit 64a1944
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Service/FeedServiceV2.php
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ public function fetch(Entity $feed): Entity
$tolerance = 10 * 60; // 10 minutes tolerance

if ($nextUpdateTime !== null && ($currentTime + $tolerance) < $nextUpdateTime) {
$this->logger->info('Feed update skipped. Next update time not reached.', [
$this->logger->info('Update for {feedURL} skipped. Next update time not reached.', [
'feedUrl' => $feed->getUrl(),
'nextUpdateTime' => $nextUpdateTime,
'currentTime' => $currentTime,
Expand Down

0 comments on commit 64a1944

Please sign in to comment.