Skip to content

Commit 7ba7470

Browse files
committed
update errorHandler
1 parent 05709bf commit 7ba7470

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/errorHandler.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export const errorHandler = ({
2828
reqQueryParams,
2929
reqBody: req?.body,
3030
},
31-
error: JSON.stringify(error),
31+
error: JSON.stringify(error, Object.getOwnPropertyNames(error)),
3232
}),
3333
);
3434
}

0 commit comments

Comments
 (0)