Skip to content

Commit

Permalink
fix: raven client provider not calling .install()
Browse files Browse the repository at this point in the history
  • Loading branch information
mentos1386 committed Jul 14, 2018
1 parent 31cf4ed commit b09b05e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/raven.providers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export const ravenSentryProviders = [
{
provide: RAVEN_SENTRY_PROVIDER,
useFactory: (config: IRavenConfig): Raven.Client => {
return Raven.config(config.dsn, config.options);
return Raven.config(config.dsn, config.options).install();
},
inject: [RAVEN_SENTRY_CONFIG],
},
Expand Down

0 comments on commit b09b05e

Please sign in to comment.