Skip to content

Commit 549ce21

Browse files
committed
review feedback, accept Int64 in attributes
1 parent fbf54bc commit 549ce21

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Sources/Tracing/Span.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -253,6 +253,8 @@ public enum SpanAttribute: Equatable {
253253

254254
internal var anyValue: Any {
255255
switch self {
256+
case .string(let value):
257+
return value
256258
case .int(let value):
257259
return value
258260
case .intArray(let value):

0 commit comments

Comments
 (0)