Expected Behaviour
When integrating Rollbar with FastAPI, I expected raised exceptions to be reported as they are:
result.raise_for_status()
This could raise HTTPError 502 Server Error: Bad Gateway for url:https://examplei.com
Actual
After the new update of Starlette, sometimes the traceback of an exception goes from exceptiongroup.ExceptionGroup: unhandled errors in a TaskGroup (1 sub-exception) to the original exception. It turns out that Rollbar is reporting the #59855 ExceptionGroup: unhandled errors in a TaskGroup (1 sub-exception) instead, obscuring the exception tracking in several cases.
I am using Python 3.10.8 and rollbar==0.16.3
Expected Behaviour
When integrating Rollbar with FastAPI, I expected raised exceptions to be reported as they are:
result.raise_for_status()This could raise HTTPError 502 Server Error: Bad Gateway for url:https://examplei.com
Actual
After the new update of Starlette, sometimes the traceback of an exception goes from
exceptiongroup.ExceptionGroup: unhandled errors in a TaskGroup (1 sub-exception)to the original exception. It turns out that Rollbar is reporting the#59855 ExceptionGroup: unhandled errors in a TaskGroup (1 sub-exception)instead, obscuring the exception tracking in several cases.I am using Python 3.10.8 and
rollbar==0.16.3