Skip to content

Commit b0bbc08

Browse files
committed
Fix taskSlug extraction
1 parent bf5ee8e commit b0bbc08

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

apps/webapp/app/v3/otlpExporter.server.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -451,11 +451,7 @@ function extractEventProperties(attributes: KeyValue[], prefix?: string) {
451451
prefix,
452452
SemanticInternalAttributes.ATTEMPT_NUMBER,
453453
]),
454-
taskSlug: extractStringAttribute(
455-
attributes,
456-
[prefix, SemanticInternalAttributes.TASK_SLUG],
457-
"unknown"
458-
),
454+
taskSlug: extractStringAttribute(attributes, [prefix, SemanticInternalAttributes.TASK_SLUG]),
459455
taskPath: extractStringAttribute(attributes, [prefix, SemanticInternalAttributes.TASK_PATH]),
460456
taskExportName: "@deprecated",
461457
workerId: extractStringAttribute(attributes, [prefix, SemanticInternalAttributes.WORKER_ID]),

0 commit comments

Comments
 (0)