You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[2021-12-03 14:57:14,883] [[email protected]] Error while checking AS connection pool stats: 'NoneType' object has no attribute 'connector'
Traceback (most recent call last):
File "/usr/lib/python3.9/site-packages/mautrix_telegram/__main__.py", line 228, in _loop_check_as_connection_pool
connector = self.az._http_session.connector
AttributeError: 'NoneType' object has no attribute 'connector'
[2021-12-03 14:57:14,884] [[email protected]] Ensuring connectivity to homeserver
This line should likely just use the http_session method and catch the possible AttributeError("the http_session attribute can only be used after starting").
Another option is to set up this task in the start method. Until then there aren't going to be any updates posted to the metric anyway.
PR that look responsible
The text was updated successfully, but these errors were encountered: