We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ca3036 commit 02dc96dCopy full SHA for 02dc96d
sentry_sdk/integrations/asyncpg.py
@@ -191,8 +191,8 @@ async def _inner(*args: Any, **kwargs: Any) -> T:
191
SPANDATA.SERVER_ADDRESS,
192
SPANDATA.SERVER_PORT,
193
):
194
- if span._get_attribute(attr):
195
- data[attr] = span._get_attribute(attr)
+ if span.get_attribute(attr):
+ data[attr] = span.get_attribute(attr)
196
197
sentry_sdk.add_breadcrumb(
198
message="connect", category="query", data=data
0 commit comments