sentry-javascript
sentry-javascript copied to clipboard
LinkedErrors integration does not respect frameContextLines settings
Package @sentry/node 5.15.5
LinkedErrors integration ignores frameContextLines parameter and uses default value.
We have found that substantial amount of memory is used by sentry as source cache (in our usecase) so we are trying to limit memory by zeroing frameContextLines. But for LinkedErrors it is not possible to set. So first error has no context around stack trace but all "causes" have context around stack trace.