How do you use Sentry?
Sentry Saas (sentry.io)
Version
1.14.0
Steps to Reproduce
import asyncio
import sentry_sdk
from sentry_sdk.integrations.asyncio import AsyncioIntegration
async def add(a, b):
return a + b
async def main():
sentry_sdk.init('dsn', integrations=[AsyncioIntegration()])
result = await asyncio.create_task(add(1, 2))
assert result == 3, result
asyncio.run(main())
Expected Result
No AssertionError.
Actual Result
assert result == 3, result
AssertionError: None
Patched task factory always loses task result.
How do you use Sentry?
Sentry Saas (sentry.io)
Version
1.14.0
Steps to Reproduce
Expected Result
No
AssertionError.Actual Result
Patched task factory always loses task result.