MCPcopy
hub / github.com/debpalash/OmniVoice-Studio / filter

Method filter

backend/main.py:244–247  ·  view source on GitHub ↗
(self, record: logging.LogRecord)

Source from the content-addressed store, hash-verified

242
243class AsyncioExceptionFilter(logging.Filter):
244 def filter(self, record: logging.LogRecord) -> bool:
245 if record.levelno == logging.WARNING and "socket.send() raised exception" in record.getMessage():
246 return False
247 return True
248
249logging.getLogger("asyncio").addFilter(AsyncioExceptionFilter())
250

Callers 15

AppFunction · 0.45
FirstRunSetupFunction · 0.45
generateVoiceFunction · 0.45
onDeleteFunction · 0.45
GlossaryPanelFunction · 0.45
FloatingPillFunction · 0.45
WorkspaceVoicesFunction · 0.45
VoicePreviewFunction · 0.45
WorkspaceHistoryFunction · 0.45
ReadinessChecklistFunction · 0.45
SegmentTrackFunction · 0.45
VoiceSelectorFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected