debug: add print statements to track executor initialization
This commit is contained in:
@@ -320,5 +320,14 @@ async def get_executor() -> AgentExecutor:
|
||||
|
||||
async def start_executor():
|
||||
"""Start the executor service"""
|
||||
executor = await get_executor()
|
||||
await executor.start()
|
||||
print("start_executor() called")
|
||||
try:
|
||||
executor = await get_executor()
|
||||
print(f"Executor obtained: {executor is not None}, running: {executor.running}")
|
||||
await executor.start()
|
||||
print("Executor start() completed (should not reach here as start() is infinite loop)")
|
||||
except Exception as e:
|
||||
print(f"ERROR in start_executor: {e}")
|
||||
import traceback
|
||||
traceback.print_exc()
|
||||
raise
|
||||
|
||||
Reference in New Issue
Block a user