You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(vue): Make options parameter optional on attachErrorHandler (#18072)
Looks like our Vue documentation for how to [dynamically attach an
errorHandler](https://docs.sentry.io/platforms/javascript/guides/vue/features/multiple-apps/#dynamic-initialization)
to a Vue app advertised that `attachErrorHandler` can be called without
having to specify options. Intuitively, this makes sense to me since the
only option we actually read is `attachProps`. We can instead default
this to true (just like in the main Vue init option) and make the
`options` parameter optional.
For v11, we should consider gating prop data attachment behind
`sendDefaultPii`. I added a TODO to the code.
closes#18060
0 commit comments