mirror of
https://github.com/maelgangloff/domain-watchdog.git
synced 2025-12-29 16:15:04 +00:00
chore: simplify ProcessWatchListTrigger
This commit is contained in:
@@ -55,11 +55,9 @@ final readonly class ProcessWatchListTriggerHandler
|
||||
|
||||
try {
|
||||
$domain = $this->RDAPService->registerDomain($domain->getLdhName());
|
||||
} catch (HttpExceptionInterface) { // To allow the purchase of expired domains
|
||||
} catch (Throwable $e) {
|
||||
if (!($e instanceof HttpExceptionInterface)) continue;
|
||||
$this->sendEmailDomainUpdateError($domain, $watchList->getUser());
|
||||
} catch (Throwable) {
|
||||
$this->sendEmailDomainUpdateError($domain, $watchList->getUser());
|
||||
continue;
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user