Skip to content

Commit 1002ac6

Browse files
committed
add default value as a fallback when getting the platform for the chunk
item header
1 parent 0d1a30d commit 1002ac6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sentry_sdk/envelope.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ def add_profile_chunk(
8282
Item(
8383
payload=PayloadRef(json=profile_chunk),
8484
type="profile_chunk",
85-
headers={"platform": profile_chunk.get("platform")},
85+
headers={"platform": profile_chunk.get("platform", "python")},
8686
)
8787
)
8888

0 commit comments

Comments
 (0)