Skip to content

Commit 4f36b09

Browse files
committed
fix: worker job error logging
1 parent d006fd1 commit 4f36b09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/workflow.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ export class Workflow<RunInput, Input, Output> {
114114
Settings.logger?.info?.(`[${this.opts.id}] Job ${job.id} failed`)
115115
})
116116
worker.on('error', (error) => {
117-
Settings.logger?.error?.(`[${this.opts.id}] Error during worker startup:`, error)
117+
Settings.logger?.error?.(`[${this.opts.id}] Job error:`, error)
118118
})
119119

120120
Settings.logger?.info?.(`[${this.opts.id}] Worker started`)

0 commit comments

Comments
 (0)