captureException drops error properties #6661
-
|
Hi. Whenever I have custom props on error objects, I can't find them on Sentry. Imagine the following code (node, latest SDK): On Sentry, After a quick look at the source code it seems to be caused by this function: https://github.com/getsentry/sentry-javascript/blob/master/packages/node/src/eventbuilder.ts#L31 Am I doing something wrong? Or is this intended? If yes, why? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
Hi, we're not including arbitrary data on the error in events for PII reasons. What you might be looking for is the |
Beta Was this translation helpful? Give feedback.
Hi, we're not including arbitrary data on the error in events for PII reasons. What you might be looking for is the
ExtraErrorDataintegration: https://docs.sentry.io/platforms/javascript/configuration/integrations/plugin/#extraerrordata