How do you use Sentry?
Sentry Saas (sentry.io)
Version
2.29.1
Steps to Reproduce
- Add a @ai_track decorator to a function
- Call that function with an unexpected argument
- Run mypy to check the code
- Run the code to see the error in sentry
Expected Result
mypy should return the following error:
error: Unexpected keyword argument "keyword" for "function" [call-arg]
Sentry traces should show the error
Actual Result
mypy returns
'Success: no issues found'
Sentry only raises the error within the parent transaction and not in the main traces page.