Skip to content

Commit cd2206f

Browse files
committed
fix: Send user agent
Fix getsentry#362
1 parent ea9a070 commit cd2206f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sentry_sdk/transport.py

+1
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@ def _send_event(self, event):
122122
str(self._auth.store_api_url),
123123
body=body.getvalue(),
124124
headers={
125+
"User-Agent": str(self._auth.client),
125126
"X-Sentry-Auth": str(self._auth.to_header()),
126127
"Content-Type": "application/json",
127128
"Content-Encoding": "gzip",

0 commit comments

Comments
 (0)