Open nottirb opened 1 month ago
If you'd like to maintain this logging pattern, is it possible to move away from using the root logger -- since it directly impacts the root logger of any app someone builds on top of realtime-py?
Specifically, I could resolve this on my end by suppressing error logging from realtime-py, but because you use the root logger I cannot just target realtime-py with this.
Bug report
Describe the bug
When a websocket is closed using
Socket._close()
, it logs the following error:To Reproduce
Setup a Socket connection and then call
Socket._close()
using the async method.Expected behavior
When the socket is explicitly closed by calling
Socket._close()
, I would expect it to: a) No longer attempt to reconnect b) Not log an error about the connection being closedSystem information