diff --git a/src/worker/utils.ts b/src/worker/utils.ts index f2aff71..dedc59e 100644 --- a/src/worker/utils.ts +++ b/src/worker/utils.ts @@ -1,5 +1,5 @@ import { getUniqueId } from '../shared/id.js'; -import { EndpointError } from '../shared/errors.js' +import { EndpointError } from '../shared/errors.js'; type TaskParams = Record; type TaskResponse = Record; @@ -85,7 +85,7 @@ export function addTaskHandler( error = { httpStatus: e.httpStatus, message: e.message, - name: e.name + name: e.name, }; } const message = /** @type {WorkerResponse} */ {