Add debug log for polling

This commit is contained in:
s3lph 2022-01-16 20:25:51 +01:00
parent 1f58c4b15f
commit b79a6b9494
Signed by: s3lph
GPG key ID: 8AC98A811E5BEFF5

View file

@ -123,6 +123,7 @@ class SpaceapiBot(Plugin):
async with aiohttp.ClientSession(read_timeout=15, conn_timeout=5) as http:
while True:
await asyncio.sleep(self.config['poll'].get('interval', 60))
self.log.debug('Polling SpaceAPI endpoint')
try:
state, changed = await self.update_spaceapi_status(http)
if changed: