Skip to content

Commit de4afa9

Browse files
committed
fix: Swap method and URL
1 parent 9659e4f commit de4afa9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sentry_sdk/tracing.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -420,7 +420,7 @@ def record_http_request(hub, url, method):
420420
# type: (sentry_sdk.Hub, str, str) -> Generator[Dict[str, str], None, None]
421421
data_dict = {"url": url, "method": method}
422422

423-
with hub.start_span(op="http", description="%s %s" % (url, method)) as span:
423+
with hub.start_span(op="http", description="%s %s" % (method, url)) as span:
424424
try:
425425
yield data_dict
426426
finally:

0 commit comments

Comments
 (0)