mirror of
https://github.com/smittix/intercept.git
synced 2026-05-01 18:19:58 -07:00
Add SSE stream logging to diagnose frontend data delivery
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -528,6 +528,7 @@ def stream():
|
||||
# Try to get data from queue
|
||||
try:
|
||||
data = app_module.gsm_spy_queue.get(timeout=1)
|
||||
logger.info(f"SSE sending: type={data.get('type', '?')}")
|
||||
yield format_sse(data)
|
||||
last_keepalive = time.time()
|
||||
except queue.Empty:
|
||||
|
||||
Reference in New Issue
Block a user