mirror of
https://git.ianrenton.com/ian/spothole.git
synced 2026-09-29 02:32:05 +00:00
Document use of the web interface, plus some other changes. Closes #152
This commit is contained in:
@@ -52,7 +52,10 @@ class StatusReporter:
|
||||
"""Thread entry point: report immediately on startup, then on each interval until stopped"""
|
||||
|
||||
while True:
|
||||
self._report()
|
||||
try:
|
||||
self._report()
|
||||
except Exception:
|
||||
logger.exception("Exception in Status Reporter thread")
|
||||
if self._stop_event.wait(timeout=self._run_interval):
|
||||
break
|
||||
|
||||
|
||||
Reference in New Issue
Block a user