Skip to content

Commit

Permalink
Remove exception log & re-raise, doesn't provide all that much more info
Browse files Browse the repository at this point in the history
  • Loading branch information
ross committed Oct 5, 2023
1 parent 212d151 commit 8d2b5bc
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions octodns_powerdns/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 8d2b5bc

Please sign in to comment.