Skip to content

Commit

Permalink
Log at debug level
Browse files Browse the repository at this point in the history
  • Loading branch information
Half-Shot committed Nov 1, 2021
1 parent b2880a5 commit 7012178
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions mautrix_telegram/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,15 +157,14 @@ async def _loop_active_puppet_metric(self) -> None:
await asyncio.sleep(ACTIVE_USER_METRICS_INTERVAL_S)
except asyncio.CancelledError:
return
self.log.info("Executing periodic active puppet metric check")
self.log.debug("Executing periodic active puppet metric check")
try:
await self._update_active_puppet_metric()
except asyncio.CancelledError:
return
except Exception as e:
self.log.exception(f"Error while checking: {e}")



async def manhole_global_namespace(self, user_id: UserID) -> Dict[str, Any]:
return {
**await super().manhole_global_namespace(user_id),
Expand Down

0 comments on commit 7012178

Please sign in to comment.