-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
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
[Bug]: Instana interferes with exception raised when connecting to database #362
Labels
Comments
ghost
added
the
bug
label
Apr 8, 2022
Thanks for reporting. |
Hi @sebastian-hatala-leanix |
Ferenc-
added a commit
that referenced
this issue
May 5, 2022
Ferenc-
added a commit
that referenced
this issue
May 5, 2022
Ferenc-
added a commit
that referenced
this issue
May 5, 2022
Ferenc-
added a commit
that referenced
this issue
May 5, 2022
The fix has been merged. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Problem Description
When connecting to a database server using
sqlalchemy
usually anOperationalError
is raised. However, Instana somehow intercepts this and instead raises anAttributeError
(see stacktrace below).This is an issue, since python-testcontainers since version 3.5 checks for explicit Exceptions to decide whether to wait or not and
AttributeError
is not one of them: testcontainers/testcontainers-python#193Minimal, Complete, Verifiable, Example
Python Version
Python 3.9
Python Modules
The text was updated successfully, but these errors were encountered: