meteor-raven
meteor-raven copied to clipboard
How to catch exception in Meteor.methods?
Hi!
I have method
Meteor.methods
getError: ->
throw new Meteor.Error(1500, 'There was an error processing your request' );
I execute this method from client. In client I see Error invoking Method 'getError': There was an error processing your request [1500]. But in sentry server it's absence
My server init looks like
RavenLogger.initialize({
server: 'http://key1:key2@localhost:9000/3'
}, {
patchGlobal: ->
console.log('Bye, bye, world')
process.exit(1)
})