Was looking at my sentry config and noticed a couple of issues
- I'd like to add a whitelistUrls array to my config, but the options of this array are merged on every build. So after 3 builds my urls are all listed three times (in sentry.server.config.js)
- Whitelist urls in Sentry should allow for regexp, but these arent correctly stringified atm. I tihnk we could check for
value instanceof RegExp and then just call value.toString()?
- Functions arent correctly stringified. Id like to try using sentry's user feedback feature but then you need to pass a
beforeSend fn to your options. Nuxt should already provide a serializeFunction helper in the template context, maybe we could use that or did you use String for functions on purpose?
Was looking at my sentry config and noticed a couple of issues
value instanceof RegExpand then just callvalue.toString()?beforeSendfn to your options. Nuxt should already provide aserializeFunctionhelper in the template context, maybe we could use that or did you use String for functions on purpose?