mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-04 17:01:56 +02:00
log exception in nameserver setter.
This commit is contained in:
parent
db4f9c54ef
commit
bb2072debc
1 changed files with 3 additions and 4 deletions
|
@ -752,10 +752,9 @@ class Domain(TimeStampedModel, DomainHelper):
|
|||
|
||||
try:
|
||||
self._delete_hosts_if_not_used(hostsToDelete=deleted_values)
|
||||
except:
|
||||
# the error will be logged in the erring function and we don't
|
||||
# need this part to succeed in order to continue.s
|
||||
pass
|
||||
except Exception as e:
|
||||
# we don't need this part to succeed in order to continue.
|
||||
logger.error("Failed to delete nameserver hosts: %s", e)
|
||||
|
||||
if successTotalNameservers < 2:
|
||||
try:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue