ExceptionGroup: unhandled errors in a TaskGroup
File "starlette/_utils.py", line 81, in collapse_excgroups
yield
File "starlette/responses.py", line 274, in __call__
async with anyio.create_task_group() as task_group:
File "anyio/_backends/_asyncio.py", line 799, in __aexit__
raise BaseExceptionGroup(
OperationalError: database is locked
(5 additional frame(s) were not displayed)
...
File "starlette/responses.py", line 277, in wrap
await func()
File "starlette/responses.py", line 250, in stream_response
async for chunk in self.body_iterator:
File "github_agent_bridge/backend.py", line 524, in _session_stream_events
events = job_session_events(db, job_id, after_id=last_id, limit=100)
File "github_agent_bridge/dashboard_data.py", line 504, in job_session_events
if not table_exists(con, "job_session_events"):
File "github_agent_bridge/dashboard_data.py", line 37, in table_exists
row = con.execute("SELECT 1 FROM sqlite_master WHERE type='table' AND name=?", (name,)).fetchone()
RuntimeError: Caught handled exception, but response already started.
(7 additional frame(s) were not displayed)
...
File "starlette/routing.py", line 660, in __call__
await self.middleware_stack(scope, receive, send)
File "starlette/routing.py", line 680, in app
await route.handle(scope, receive, send)
File "starlette/routing.py", line 276, in handle
await self.app(scope, receive, send)
File "fastapi/routing.py", line 134, in app
await wrap_app_handling_exceptions(app, request)(scope, receive, send)
File "starlette/_exception_handler.py", line 56, in wrapped_app
raise RuntimeError("Caught handled exception, but response already started.") from exc
Sentry Issue: GAB-Y
This issue was automatically created by Sentry via Github Issue