Skip to content

Commit

Permalink
Fix Cloudflare MX record creation error
Browse files Browse the repository at this point in the history
  • Loading branch information
c-w committed May 8, 2020
1 parent 8351de6 commit 6d14ebd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions opwen_email_server/services/dns.py
Expand Up @@ -57,6 +57,7 @@ def _run(self, client_name: str, zone: Zone) -> None:
name=client_name,
type=RecordType.MX,
data=MX_RECORD,
extra={'priority': 0},
)
except LibcloudError as ex:
if 'record already exists' not in ex.value:
Expand Down

0 comments on commit 6d14ebd

Please sign in to comment.