On Wednesday, 1 February 2012 11:25:00 UTC, mscdex wrote: > > On Jan 31, 6:15 am, Chris Casey <[email protected]> wrote: > > I have looked around the api documentation but found it difficult to > find > > understandable information on this. Is there more explanatory > documentation > > anywhere? > > This?: process.on('uncaughtException', function(err) { });
Have now successfully trapped and reported the error using this and using a process.exit on a setTimeout happily aborted the process so that it doesn't loop. One last question... The detail on the error reported is very minimal. Is there a way to get more information, or even a stack dump. I know console.trace() will do this to stderr but need to do this to our own log file. Chris -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
