Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
Charles94jp committed Feb 6, 2022

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 596bec8 commit 8e4ee28
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ddns.py
Original file line number Diff line number Diff line change
@@ -167,7 +167,7 @@ def update_domain_ip(self, new_ip):
self.send_new_ip(new_ip)
self.check_error()
self.lastUpdateDomainIpError = True
except BaseException as e:
except Exception as e:
self.logger.exception(e)
self.logger.error("update_domain_ip: \tupdate failed")
if not self.lastUpdateDomainIpError:
@@ -311,7 +311,7 @@ def start(self):
if self.currentIp != self.domainIp:
self.update_domain_ip(self.currentIp)
self.lastStartError = False
except BaseException as e:
except Exception as e:
ddns.logger.exception(e)
self.check_error()
self.lastStartError = True

0 comments on commit 8e4ee28

Please sign in to comment.