add debug print

This commit is contained in:
takatost 2024-10-24 00:54:10 -07:00
parent 8685c0d48b
commit 206e6e1e7c

View File

@ -38,6 +38,8 @@ class RedisClientWrapper(redis.Redis):
def __getattr__(self, item):
if self._client is None:
raise RuntimeError("Redis client is not initialized. Call init_app first.")
print(self._client.connection_pool.get_connection("ping").socket_socket_class)
return getattr(self._client, item)