Skip to content

Commit a895b63

Browse files
committed
Update description for worker:fatalError
1 parent 91c950f commit a895b63

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/interfaces.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1166,7 +1166,9 @@ export type WorkerEventMap = {
11661166
"worker:getJob:empty": { ctx: WorkerPluginContext; worker: Worker };
11671167

11681168
/**
1169-
* When a worker is created
1169+
* When an unexpected error occurs outside of task execution itself - for
1170+
* example when trying to update a task's status in the database after it
1171+
* completed.
11701172
*/
11711173
"worker:fatalError": {
11721174
ctx: WorkerPluginContext;

0 commit comments

Comments
 (0)