Skip to content

Commit

Permalink
rectorize
Browse files Browse the repository at this point in the history
  • Loading branch information
RobinDev committed Oct 22, 2023
1 parent b3d7b13 commit c3ba96a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/page-update-notifier/src/PageUpdateNotifier.php
Expand Up @@ -64,17 +64,17 @@ public function postUpdate(PageInterface $page): void
{
try {
$this->run($page);
} catch (\Exception $e) {
$this->logger?->info('[PageUpdateNotifier] '.$e->getMessage());
} catch (\Exception $exception) {
$this->logger?->info('[PageUpdateNotifier] '.$exception->getMessage());
}
}

public function postPersist(PageInterface $page): void
{
try {
$this->run($page);
} catch (\Exception $e) {
$this->logger?->info('[PageUpdateNotifier] '.$e->getMessage());
} catch (\Exception $exception) {
$this->logger?->info('[PageUpdateNotifier] '.$exception->getMessage());
}
}

Expand Down

0 comments on commit c3ba96a

Please sign in to comment.