How to use the @sentry/integrations.Ember function in @sentry/integrations

To help you get started, we’ve selected a few @sentry/integrations examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github puzzle / cryptopus / frontend / app / initializers / sentry.js View on Github external
export function initialize() {
  if (ENV.environment === "production" && isPresent(ENV.sentryDsn)) {
    Sentry.init({
      dsn: ENV.sentryDsn,
      integrations: [new Integrations.Ember()]
    });
  }
}