Skip to content

Commit 209f85a

Browse files
committed
Fix catcher problems
1 parent 64bd905 commit 209f85a

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
"run-limiter": "yarn worker hawk-worker-limiter"
4545
},
4646
"dependencies": {
47-
"@hawk.so/nodejs": "^2.1.0",
47+
"@hawk.so/nodejs": "^3.0.10",
4848
"@types/amqplib": "^0.5.13",
4949
"@types/jest": "^25.2.1",
5050
"@types/mongodb": "^3.5.15",

workers/javascript/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ export default class JavascriptEventWorker extends EventWorker {
119119
*/
120120
HawkCatcher.send(error, {
121121
payload: event.payload,
122-
});
122+
} as any);
123123

124124
return event.payload.backtrace[index];
125125
});

workers/limiter/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ export default class LimiterWorker extends Worker {
327327

328328
HawkCatcher.send(error, {
329329
workspaceId: workspace._id,
330-
});
330+
} as any);
331331

332332
throw error;
333333
}

workers/paymaster/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ export default class PaymasterWorker extends Worker {
167167

168168
HawkCatcher.send(error, {
169169
workspaceId: workspace._id,
170-
});
170+
} as any);
171171

172172
return false;
173173
}

0 commit comments

Comments
 (0)