Skip to content

Commit 84cbbd7

Browse files
committed
ref: Add missing data category
1 parent e175733 commit 84cbbd7

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

sentry_sdk/envelope.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -255,6 +255,8 @@ def data_category(self) -> "EventDataCategory":
255255
return "attachment"
256256
elif ty == "transaction":
257257
return "transaction"
258+
elif ty == "span":
259+
return "span"
258260
elif ty == "event":
259261
return "error"
260262
elif ty == "log":

0 commit comments

Comments
 (0)