diff --git a/src/MessageHandler/UpdateDomainHandler.php b/src/MessageHandler/UpdateDomainHandler.php index aa4e70c..75248bc 100644 --- a/src/MessageHandler/UpdateDomainHandler.php +++ b/src/MessageHandler/UpdateDomainHandler.php @@ -165,13 +165,16 @@ final readonly class UpdateDomainHandler try { $this->RDAPService->registerDomain($ldhName); } catch ( - DomainNotFoundException| TldNotSupportedException| - MalformedDomainException| - UnknownRdapServerException - $exception + MalformedDomainException + $exception ) { throw new UnrecoverableMessageHandlingException($exception->getMessage(), 0, $exception); + } catch ( + UnknownRdapServerException| + DomainNotFoundException + ) { + return; } } } diff --git a/src/State/FindDomainCollectionFromEntityProvider.php b/src/State/FindDomainCollectionFromEntityProvider.php index fcb2d49..620d9f8 100644 --- a/src/State/FindDomainCollectionFromEntityProvider.php +++ b/src/State/FindDomainCollectionFromEntityProvider.php @@ -50,8 +50,9 @@ WHERE LOWER(org||fn) NOT LIKE '%redacted for privacy%' AND LOWER(org||fn) NOT LIKE '%registration private%' AND LOWER(org||fn) NOT LIKE '%domain administrator%' AND LOWER(org||fn) NOT LIKE '%registry super user account%' - AND LOWER(org||fn) not like '%ano nymous%' - AND LOWER(org||fn) not in ('na', 'n/a', '-', 'none', 'not applicable') + AND LOWER(org||fn) NOT LIKE '%ano nymous%' + AND LOWER(org||fn) NOT LIKE '%redacted%' + AND LOWER(org||fn) NOT IN ('na', 'n/a', '-', 'none', 'not applicable') AND handle NOT IN ($handleBlacklist) AND de.roles @> '["registrant"]' AND sub.tld_id IS NOT NULL