Skip to content

Commit 02dc96d

Browse files
committed
.
1 parent 0ca3036 commit 02dc96d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sentry_sdk/integrations/asyncpg.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,8 +191,8 @@ async def _inner(*args: Any, **kwargs: Any) -> T:
191191
SPANDATA.SERVER_ADDRESS,
192192
SPANDATA.SERVER_PORT,
193193
):
194-
if span._get_attribute(attr):
195-
data[attr] = span._get_attribute(attr)
194+
if span.get_attribute(attr):
195+
data[attr] = span.get_attribute(attr)
196196

197197
sentry_sdk.add_breadcrumb(
198198
message="connect", category="query", data=data

0 commit comments

Comments
 (0)