Scrub watch snapshot fixes

This commit is contained in:
dgtlmoon
2022-01-15 23:18:04 +01:00
committed by GitHub
parent a896493797
commit b7ca10ebac
2 changed files with 6 additions and 6 deletions

View File

@@ -60,7 +60,7 @@ class update_worker(threading.Thread):
self.datastore.update_watch(uuid=uuid, update_obj={'last_error': err_text,
'last_check_status': e.status_code})
except Exception as e:
self.app.logger.error("Exception reached processing watch UUID:%s - %s", uuid, str(e))
self.app.logger.error("Exception reached processing watch UUID: %s - %s", uuid, str(e))
self.datastore.update_watch(uuid=uuid, update_obj={'last_error': str(e)})
else: