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 aabec99 commit 8b2d7bcCopy full SHA for 8b2d7bc
sentry_sdk/tracing_utils.py
@@ -133,13 +133,13 @@ def record_sql_queries(
133
134
data = {}
135
if params_list is not None:
136
- data["db.params"] = params_list
+ data["db.params"] = str(params_list)
137
if paramstyle is not None:
138
- data["db.paramstyle"] = paramstyle
+ data["db.paramstyle"] = str(paramstyle)
139
if executemany:
140
data["db.executemany"] = True
141
if record_cursor_repr and cursor is not None:
142
- data["db.cursor"] = cursor
+ data["db.cursor"] = str(cursor)
143
144
with capture_internal_exceptions():
145
sentry_sdk.add_breadcrumb(message=query, category="query", data=data)
0 commit comments