Skip to content

Commit f6edcce

Browse files
fix/types fix for catchException function
1 parent fdb1a45 commit f6edcce

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/node/src/exceptions/handler.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import { getOsDetails } from "../helpers";
1818
*
1919
*
2020
*/
21-
export const catchException = async (error: any) => {
21+
export const catchException = async (error: Error) => {
2222
if (isClientConnected()) {
2323
await handleException(error);
2424
}

0 commit comments

Comments
 (0)