Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
exception
  • Loading branch information
kenanfarukcakir committed Mar 3, 2026
commit 43d5f01d5e6464b5099cf37700461c79cf66e020
4 changes: 2 additions & 2 deletions lighter/ws_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ def _ping_loop(self):
if self.ws and not self.stop_event.is_set():
try:
self.ws.send(json.dumps({"type": "ping"}))
except:
except Exception:
break

async def _ping_loop_async(self):
Expand All @@ -182,7 +182,7 @@ async def _ping_loop_async(self):
if self.ws and not self.stop_event.is_set():
try:
await self.ws.send(json.dumps({"type": "ping"}))
except:
except Exception:
break

def run(self):
Expand Down