Skip to content

Commit b28feda

Browse files
committed
Fix last init formatting
1 parent 14cadc6 commit b28feda

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/core/src/v3/workers/taskExecutor.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -596,7 +596,7 @@ export class TaskExecutor {
596596
if (taskInitHook) {
597597
const [hookError, taskResult] = await tryCatch(
598598
this._tracer.startActiveSpan(
599-
"init/task",
599+
"init()",
600600
async (span) => {
601601
const result = await taskInitHook({ payload, ctx, signal, task: this.task.id });
602602

@@ -611,6 +611,7 @@ export class TaskExecutor {
611611
attributes: {
612612
[SemanticInternalAttributes.STYLE_ICON]: "task-hook-init",
613613
[SemanticInternalAttributes.COLLAPSED]: true,
614+
...this.#lifecycleHookAccessoryAttributes("task"),
614615
},
615616
}
616617
)

0 commit comments

Comments
 (0)