Add debug log for polling
This commit is contained in:
parent
1f58c4b15f
commit
b79a6b9494
1 changed files with 1 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue