From 8d2b5bc83a78b30592d4d29f6f02010b0973edbe Mon Sep 17 00:00:00 2001 From: Ross McFarland Date: Thu, 5 Oct 2023 10:57:06 -0700 Subject: [PATCH] Remove exception log & re-raise, doesn't provide all that much more info --- octodns_powerdns/__init__.py | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/octodns_powerdns/__init__.py b/octodns_powerdns/__init__.py index 245bf0e..8407f23 100644 --- a/octodns_powerdns/__init__.py +++ b/octodns_powerdns/__init__.py @@ -706,16 +706,7 @@ def _apply(self, plan): def _request_notify(self, zoneid): self.log.debug('_request_notify: requesting notification: %s', zoneid) - try: - self._put(f'zones/{zoneid}/notify') - except HTTPError as e: - self.log.error( - '_request_notify: status=%d, text=%s', - e.response.status_code, - e.response.text, - ) - raise - self.log.debug('_request_notify: requested notification: %s', zoneid) + self._put(f'zones/{zoneid}/notify') class PowerDnsProvider(PowerDnsBaseProvider):