segment-integrations / analytics.js-integration-sentry

The Sentry analytics.js integration.
https://segment.com/docs/integrations/sentry/
MIT License
3 stars 7 forks source link

Support more options for Sentry #4

Closed f2prateek closed 9 years ago

f2prateek commented 9 years ago

This PR makes 2 changes:

  1. Dont clobber existing settings unless it is set in our UI. This ensures that settings we don't support, such as the error callback function and regex matchers, are still respected.
  2. Add native support for maxMessageLength, logger, ignoreErrors and ignoreUrls. Only strings are supported (wherever relevant) — users should use regexes in their own code if they need to.