We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In BackendAuthenticatedConn._acquire_transport, a previously-caught exception might be re-raised:
BackendAuthenticatedConn._acquire_transport
parsec-cloud/parsec/core/backend_connection/authenticated.py
Line 260 in bc179e8
This can lead to traceback issues as shown in this very long trace: https://sentry.io/organizations/scille/issues/1815651121/events/65fcd73102d8457d9bf678448be9df22/?project=1212848
Here's a way to reproduce the problem (credit goes to @touilleMan)
Python 3.6.9 (default, Nov 7 2019, 10:44:02) [GCC 8.3.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> exc = None >>> def foo(exc): ... raise exc ... >>> def bar(exc): ... foo(exc) ... >>> bar(RuntimeError("1")) Traceback (most recent call last): File "<stdin>", line 1, in <module> File "<stdin>", line 2, in bar File "<stdin>", line 2, in foo RuntimeError: 1 >>> try: ... bar(RuntimeError("2")) ... except BaseException as _exc: ... exc = _exc ... >>> exc RuntimeError('2',) >>> bar(exc) Traceback (most recent call last): File "<stdin>", line 1, in <module> File "<stdin>", line 2, in bar File "<stdin>", line 2, in foo File "<stdin>", line 2, in <module> File "<stdin>", line 2, in bar File "<stdin>", line 2, in foo RuntimeError: 2 >>> bar(exc) Traceback (most recent call last): File "<stdin>", line 1, in <module> File "<stdin>", line 2, in bar File "<stdin>", line 2, in foo File "<stdin>", line 1, in <module> File "<stdin>", line 2, in bar File "<stdin>", line 2, in foo File "<stdin>", line 2, in <module> File "<stdin>", line 2, in bar File "<stdin>", line 2, in foo RuntimeError: 2 >>> bar(exc) Traceback (most recent call last): File "<stdin>", line 1, in <module> File "<stdin>", line 2, in bar File "<stdin>", line 2, in foo File "<stdin>", line 1, in <module> File "<stdin>", line 2, in bar File "<stdin>", line 2, in foo File "<stdin>", line 1, in <module> File "<stdin>", line 2, in bar File "<stdin>", line 2, in foo File "<stdin>", line 2, in <module> File "<stdin>", line 2, in bar File "<stdin>", line 2, in foo RuntimeError: 2 >>> bar(exc) Traceback (most recent call last): File "<stdin>", line 1, in <module> File "<stdin>", line 2, in bar File "<stdin>", line 2, in foo File "<stdin>", line 1, in <module> File "<stdin>", line 2, in bar File "<stdin>", line 2, in foo File "<stdin>", line 1, in <module> File "<stdin>", line 2, in bar File "<stdin>", line 2, in foo File "<stdin>", line 1, in <module> File "<stdin>", line 2, in bar File "<stdin>", line 2, in foo File "<stdin>", line 2, in <module> File "<stdin>", line 2, in bar File "<stdin>", line 2, in foo RuntimeError: 2 >>>
The text was updated successfully, but these errors were encountered:
Fix the reporting of exceptions with very long traces from the backen…
02b3d26
…d connection module (PR #1340)
vxgmichel
Successfully merging a pull request may close this issue.
In
BackendAuthenticatedConn._acquire_transport
, a previously-caught exception might be re-raised:parsec-cloud/parsec/core/backend_connection/authenticated.py
Line 260 in bc179e8
This can lead to traceback issues as shown in this very long trace:
https://sentry.io/organizations/scille/issues/1815651121/events/65fcd73102d8457d9bf678448be9df22/?project=1212848
Here's a way to reproduce the problem (credit goes to @touilleMan)
The text was updated successfully, but these errors were encountered: