Agent server fails to handle asyncio.CancelledError
from create_kernels()
#1128
Labels
Milestone
asyncio.CancelledError
from create_kernels()
#1128
What Operating System(s) are you seeing this problem on?
macOS (Apple Silicon)
Backend.AI version
b2c4a7a
Describe the bug
The agent server fails to handle
asyncio.CancelledError
in some cases:asyncio.CancelledError
has been a subclass ofBaseException
rather thanException
since Python 3.8. Therefore, it cannot be filtered by conditionfilter(lambda item: isinstance(item, Exception))
.backend.ai/src/ai/backend/agent/server.py
Line 380 in b2c4a7a
To Reproduce
No response
Expected Behavior
Raises an exception and does not attempt to read values by index.
Anything else?
No response
The text was updated successfully, but these errors were encountered: