We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 05709bf commit 7ba7470Copy full SHA for 7ba7470
src/utils/errorHandler.ts
@@ -28,7 +28,7 @@ export const errorHandler = ({
28
reqQueryParams,
29
reqBody: req?.body,
30
},
31
- error: JSON.stringify(error),
+ error: JSON.stringify(error, Object.getOwnPropertyNames(error)),
32
}),
33
);
34
}
0 commit comments