Friday 2 June 2017

How to caught un-handled exception in Meteor + NodeJs application

we are using Meteor + NodeJS application. Meteor application use for communication for client and Nodejs application for connect to DB. We gave the nodeJS application reference in meteor application.

When any un-handled error occurs in nodejs application we are not able to catch it.

We deploy the meteor and nodejs application as a package.

From Meteor we called nodejs methods using Meteor.wrapAsync(node.method1). we are able to catch the exception in meteor till callback from node method. After callback if any exception occurs in nodejs method we are not able to handle it.

Thanks for your replay



via Abhijit

No comments:

Post a Comment