Added sentry
This commit is contained in:
parent
fef4c99189
commit
08824a1e4e
1 changed files with 10 additions and 0 deletions
10
imports/startup/client/ravenLogger.js
Normal file
10
imports/startup/client/ravenLogger.js
Normal file
|
|
@ -0,0 +1,10 @@
|
||||||
|
import RavenLogger from 'meteor/flowkey:raven';
|
||||||
|
|
||||||
|
var ravenOptions = {};
|
||||||
|
|
||||||
|
export const ravenLogger = new RavenLogger({
|
||||||
|
publicDSN: Meteor.settings.public.sentryPublicDSN, // will be used on the client
|
||||||
|
privateDSN: Meteor.settings.sentryPrivateDSN, // will be used on the server
|
||||||
|
shouldCatchConsoleError: true, // default
|
||||||
|
trackUser: false, // default
|
||||||
|
}, ravenOptions);
|
||||||
Loading…
Add table
Add a link
Reference in a new issue