Added sentry

This commit is contained in:
vjrj 2017-11-29 16:29:17 +01:00
parent fef4c99189
commit 08824a1e4e

View 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);