Auto extract html title as title (#102)

* Auto extract <title> as watch title, Minor refactor for html tooling
This commit is contained in:
dgtlmoon
2021-06-24 19:10:19 +10:00
committed by GitHub
parent 9af1ea9fc0
commit 25185e6d00
10 changed files with 65 additions and 23 deletions

View File

@@ -31,8 +31,10 @@ class update_worker(threading.Thread):
try:
changed_detected, result, contents = update_handler.run(uuid)
except PermissionError as s:
self.app.logger.error("File permission error updating", uuid, str(s))
except PermissionError as e:
self.app.logger.error("File permission error updating", uuid, str(e))
except Exception as e:
self.app.logger.error("Exception reached", uuid, str(e))
else:
if result:
try: